« Modèle:Navbar » : différence entre les versions
incorporate new single letter "v" option + single "view" option based upon User:Trialsanderrors comments on talk
test0>Phil Boswell (subst:'ing, Replaced: {{·}} → {{subst:·}} (4) using AWB) |
test0>Netscott (incorporate new single letter "v" option + single "view" option based upon User:Trialsanderrors comments on talk) |
||
Ligne 5 : | Ligne 5 : | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#ifeq:{{{mini|}}}{{{plain|}}}|<!--equals:-->1 |<!--then:(nothing)--> |<!--else: | -->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{plain|}}}{{{viewplain|}}}|<!--equals:-->1 |<!--then:(nothing)--> |<!--else: | ||
-->This box: <!-- | -->This box: <!-- | ||
-->}}<!-- | -->}}<!-- | ||
Ligne 13 : | Ligne 13 : | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{mini|}}} |<!--then:(nothing)--> |<!--else: | -->{{#ifeq:{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then: | ||
-->[[Template:{{{1}}}|<span title="View this template.">v{{#if:{{{plainview|}}}|iew}}</span>]]<!-- | |||
-->|<!--else:(nothing)--> |}}<!-- | |||
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:(nothing)--> |<!--else: | |||
-->[[Template:{{{1}}}|<span title="View this template.">view</span>]] <span style="font-size:80%;">•</span> [[Template talk:{{{1}}}|<span style="color:#002bb8;" title="Discussion about this template.">talk</span>]] <span style="font-size:80%;">•</span> [{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">edit</span>]<!-- | -->[[Template:{{{1}}}|<span title="View this template.">view</span>]] <span style="font-size:80%;">•</span> [[Template talk:{{{1}}}|<span style="color:#002bb8;" title="Discussion about this template.">talk</span>]] <span style="font-size:80%;">•</span> [{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">edit</span>]<!-- | ||
-->}}<!-- | -->}}<!-- |