Szablon:Ekskluzywne: Różnice pomiędzy wersjami

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja nieprzejrzana][wersja nieprzejrzana]
dNie podano opisu zmian
dNie podano opisu zmian
Linia 11: Linia 11:


(Re-)Initialize output variables in case the template is used multiple times on a page
(Re-)Initialize output variables in case the template is used multiple times on a page
--> {{#vardefine: editions}}                                 <!--
-->{{#vardefine: editions}}<!--
-->                              <!--


-- Process the arguments --
-- Process the arguments --
--> {{#fornumargs: argnum | argval |
-->{{#fornumargs: argnum | argval |
         <!-- set local variable values per argument keyword; replace obsolescent edition names -->
         <!-- set local variable values per argument keyword; replace obsolescent edition names -->
         {{#switch: {{lc:{{#var: argval}} }}  
         {{#switch: {{lc:{{#var: argval}} }}  
Linia 53: Linia 52:
                     }} {{#var: edition}}]]
                     }} {{#var: edition}}]]
             }}
             }}
         }} <!--
         }}<!--


-- Generate the msgbox, adding HTML and CSS styling where needed
-- Generate the msgbox, adding HTML and CSS styling where needed
--> {{msgbox | bgcol=#e6f3f7 | linecol=#95d1e9
-->{{msgbox | bgcol=#e6f3f7 | linecol=#95d1e9
         | title = {{#if: {{{customtext|}}} | {{{customtext}}} | Ten element dotyczy wyłącznie {{#var: editions}}.}}
         | title = {{#if: {{{customtext|}}} | {{{customtext}}} | Ten element dotyczy wyłącznie {{#var: editions}}.}}
         | css = display: table;  
         | css = display: table;  
         | image = {{{image|Information icon.svg}}}
         | image = {{{image|Information icon.svg}}}
         | mini = {{{section|}}}
         | mini = {{{section|}}}
         }}
         }}<!--
        <!--
--></includeonly><noinclude>{{doc}}
--> </includeonly> <!--
--> <noinclude> {{doc}} </noinclude> <!--
<!-- Put categories/interwiki on the documentation page -->
<!-- Put categories/interwiki on the documentation page -->
</noinclude>

Wersja z 21:21, 24 sie 2019