Difference between revisions of "Template:Navbar"
From D&D 5e
(Re-implementing style parameter. Now thouroughly debugged.) |
(Change style parameter for font to "fontstyle") |
||
Line 9: | Line 9: | ||
-->{{#if:{{{mini|}}} |<!--then: | -->{{#if:{{{mini|}}} |<!--then: | ||
− | -->[[Template:{{{1}}}|<span title="View this template" style="{{{ | + | -->[[Template:{{{1}}}|<span title="View this template" style="{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}">v</span>]] <span style="font-size:80%;">•</span> [[Template talk:{{{1}}}|<span style="color:#002bb8;{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" title="Discussion about this template">d</span>]] <span style="font-size:80%;">•</span> [{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="color:#002bb8;{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" title="You can edit this template. Please use the preview button before saving.">e</span>]<!-- |
-->}}<!-- | -->}}<!-- | ||
-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then: | -->{{#ifeq:{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then: | ||
− | -->[[Template:{{{1}}}|<span title="View this template" style="{{{ | + | -->[[Template:{{{1}}}|<span title="View this template" style="{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}">v{{#if:{{{viewplain|}}}|iew}}</span>]]<!-- |
-->|<!--else:(nothing)--> |}}<!-- | -->|<!--else:(nothing)--> |}}<!-- | ||
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:(nothing)--> |<!--else: | -->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:(nothing)--> |<!--else: | ||
− | -->[[Template:{{{1}}}|<span title="View this template" style="{{{ | + | -->[[Template:{{{1}}}|<span title="View this template" style="{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}">view</span>]] <span style="font-size:80%;">•</span> [[Template talk:{{{1}}}|<span style="color:#002bb8;{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" title="Discussion about this template">talk</span>]] <span style="font-size:80%;">•</span> [{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="color:#002bb8;{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" title="You can edit this template. Please use the preview button before saving.">edit</span>]<!-- |
-->}}<!-- | -->}}<!-- | ||