Difference between revisions of "Template:Navbar"
From D&D 5e
(Extended style parameter to apply to all links as well (to accept other template's style parameters). The fontcolor parameter still overrides the style parameter.) |
(Fix mini section) |
||
Line 9: | Line 9: | ||
-->{{#if:{{{mini|}}} |<!--then: | -->{{#if:{{{mini|}}} |<!--then: | ||
− | -->[[Template:{{{1}}}|<span title="View this template" style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;padding:0;margin:0;" | + | -->[[Template:{{{1}}}|<span title="View this template" style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;padding:0;margin:0;">v</span>]] <span style="font-size:80%;">•</span> [[Template talk:{{{1}}}|<span {{#ifexist: Template talk:{{{1}}}|<!--do nothing-->style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;padding:0;margin:0;"|style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};|##002bb8;}}border:none;padding:0;margin:0;"}} title="Discussion about this template">d</span>]] <span style="font-size:80%;">•</span> [{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;padding:0;margin:0;" title="You can edit this template. Please use the preview button before saving.">e</span>]<!-- |
-->}}<!-- | -->}}<!-- | ||