« Modèle:Navbar » : différence entre les versions

De wiki-spl
Aller à la navigation Aller à la recherche
test0>Happy-melon
(|style= is the usual parameter name)
test0>Edokter
(Undid revision 274723151 by Happy-melon (talk) That breaks parameter precedence, and 'style' and 'fontstyle' apply to different spans.)
Ligne 1 : Ligne 1 :
<includeonly>{{#if:{{{nodiv|}}}|<!--then:
<includeonly>{{#if:{{{nodiv|}}}|<!--then:
-->&nbsp;<span class="noprint plainlinksneverexpand navbar" style="white-space:nowrap; font-weight:normal; font-size:xx-small; {{{style|{{{fontstyle|}}}}}}; {{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}">|<!--else:
-->&nbsp;<span class="noprint plainlinksneverexpand navbar" style="white-space:nowrap; font-weight:normal; font-size:xx-small; {{{fontstyle|}}}; {{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}} {{{style|}}}">|<!--else:
--><div class="noprint plainlinksneverexpand navbar" style="background-color:transparent; padding:0; white-space:nowrap; font-weight:normal; font-size:xx-small; {{{style|{{{fontstyle|}}}}}}; {{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}"><!--
--><div class="noprint plainlinksneverexpand navbar" style="background-color:transparent; padding:0; white-space:nowrap; font-weight:normal; font-size:xx-small; {{{fontstyle|}}}; {{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}} {{{style|}}}"><!--
-->}}<!--
-->}}<!--


Ligne 10 : Ligne 10 :


-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}}|<!--equals:-->1|<!--then:
-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}}|<!--equals:-->1|<!--then:
-->[[Template:{{{1}}}|<span title="View this template" style="{{{style|{{{fontstyle|}}}}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}">{{#if:{{{viewplain|}}}|view|v}}</span>]]|<!--else:
-->[[Template:{{{1}}}|<span title="View this template" style="{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}">{{#if:{{{viewplain|}}}|view|v}}</span>]]|<!--else:
-->[[Template:{{{1}}}|<span title="View this template" style="{{{style|{{{fontstyle|}}}}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}">{{#if:{{{mini|}}}|v|view}}</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[Template talk:{{{1}}}|<span style="color:#002bb8;{{{style|{{{fontstyle|}}}}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" title="Discussion about this template">{{#if:{{{mini|}}}|d|talk}}</span>]]{{#ifeq:{{{noedit}}}|1||&nbsp;<span style="font-size:80%;">•</span>&nbsp;[{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="color:#002bb8;{{{style|{{{fontstyle|}}}}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" title="You can edit this template. Please use the preview button before saving.">{{#if:{{{mini|}}}|e|edit}}</span>]}}<!--
-->[[Template:{{{1}}}|<span title="View this template" style="{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}">{{#if:{{{mini|}}}|v|view}}</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[Template talk:{{{1}}}|<span style="color:#002bb8;{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" title="Discussion about this template">{{#if:{{{mini|}}}|d|talk}}</span>]]{{#ifeq:{{{noedit}}}|1||&nbsp;<span style="font-size:80%;">•</span>&nbsp;[{{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.">{{#if:{{{mini|}}}|e|edit}}</span>]}}<!--
-->}}<!--
-->}}<!--



Version du 3 mars 2009 à 20:38

Modèle:Pp-template {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}{{#if:| [[Category:Template documentation pages{{#translation:}}]] }}