Użytkownik:Tomciu2/brudnopis: Różnice pomiędzy wersjami

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
Tomciu2 (dyskusja | edycje)
testy nowego navboxa
Tomciu2 (dyskusja | edycje)
Nie podano opisu zmian
 
Linia 1: Linia 1:
<includeonly>{{#ifeq: {{{1}}} | child || <div class="navbox" style="{{{bodystyle|}}}">}}{{
<includeonly>{{#if: {{{title|}}} | <div class="navbox hlist" {{#if: {{{bodystyle|}}} | style="{{{bodystyle}}}" }}> }}
#switch: {{{placement|}}} | top = </ul> | middle | bottom = </li></ul>
<table {{#if: {{{title|}}} | class="{{#if: {{{state|}}} | {{{state}}} | collapsible }}" }} }}>
}}<table style="{{#ifeq: {{{1}}} | child | margin: <!--
{{#if: {{{title|}}} | <tr>
      -->{{#switch: {{{placement}}} | top      = -2px 4px 0
<th class="navbox-top" colspan="2" {{#if: {{{titlestyle|}}} | style="{{{titlestyle|}}}" }}>
                                      | middle  = 0 4px 0
{{#switch: {{{1}}} | navbar | navbar-mini = <div class="navbox-navbar">
                                      | bottom  = 0 4px -2px
{{navbar|{{{name}}}|mini={{#ifeq: {{{1}}} | navbar-mini | 1 }}|plain=1}}
                                      | #default = -2px 4px -2px }} -4px" | " class="{{#if: {{{state|}}} | {{{state}}} | collapsible }}" }}>
</div>}}<span class="navbox-title">{{{title}}}</span></th>
{{#ifeq: {{{1}}} | child || <tr>
</tr>}}
<th class="navbox-top" colspan="2" style="{{{titlestyle|}}}"><!--
<tr>
-->{{#switch: {{{1}}} | navbar | navbar-mini = <span class="navbox-navbar{{#ifeq: {{{1}}} | navbar-mini | -mini }}"><!--
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group1}}}</th>
  -->[[Szablon:{{{name}}}|<span title="Pokaż szablon">p{{#ifeq: {{{1}}} | navbar | odgląd }}</span>]] &bull; <!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
  -->[[Dyskusja szablonu:{{{name}}}|<span title="Dyskusja szablonu">d{{#ifeq: {{{1}}} | navbar | yskusja }}</span>]] &bull; <!--
{{{list1}}}</td>
  --><span class="plainlinks">[{{fullurl:Szablon:{{{name}}}|action=edit}} <span title="Edycja szablonu">e{{#ifeq: {{{1}}} | navbar | dytuj }}</span>]</span><!--
</tr>
--></span> }}<!--
--><span class="navbox-title">{{{title}}}</span></th>
</tr>}}<tr>
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group1}}}</th>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list1}}} | * }} | <ul>{{#replace: {{{list1}}} | * | </li>
<li> }}</ul> | {{{list1}}} }}</td></tr><!--


-->{{#if: {{{group2|}}} | <tr>
{{#if: {{{group2|}}} | {{#if: {{{list2|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group2}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list2}}} | * }} | <ul>{{#replace: {{{list2}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group2}}}</th>
<li> }}</ul> | {{{list2}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list2}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group3|}}} | <tr>
-->{{#if: {{{group3|}}} | {{#if: {{{list3|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group3}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list3}}} | * }} | <ul>{{#replace: {{{list3}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group3}}}</th>
<li> }}</ul> | {{{list3}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list3}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group4|}}} | <tr>
-->{{#if: {{{group4|}}} | {{#if: {{{list4|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group4}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list4}}} | * }} | <ul>{{#replace: {{{list4}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group4}}}</th>
<li> }}</ul> | {{{list4}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list4}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group5|}}} | <tr>
-->{{#if: {{{group5|}}} | {{#if: {{{list5|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group5}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list5}}} | * }} | <ul>{{#replace: {{{list5}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group5}}}</th>
<li> }}</ul> | {{{list5}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list5}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group6|}}} | <tr>
-->{{#if: {{{group6|}}} | {{#if: {{{list6|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group6}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list6}}} | * }} | <ul>{{#replace: {{{list6}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group6}}}</th>
<li> }}</ul> | {{{list6}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list6}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group7|}}} | <tr>
-->{{#if: {{{group7|}}} | {{#if: {{{list7|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}"> {{{group7}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list7}}} | * }} | <ul>{{#replace: {{{list7}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}> {{{group7}}}</th>
<li> }}</ul> | {{{list7}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list7}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group8|}}} | <tr>
-->{{#if: {{{group8|}}} | {{#if: {{{list8|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group8}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list8}}} | * }} | <ul>{{#replace: {{{list8}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group8}}}</th>
<li> }}</ul> | {{{list8}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list8}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group9|}}} | <tr>
-->{{#if: {{{group9|}}} | {{#if: {{{list9|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group9}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list9}}} | * }} | <ul>{{#replace: {{{list9}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group9}}}</th>
<li> }}</ul> | {{{list9}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list9}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group10|}}} | <tr>
-->{{#if: {{{group10|}}} | {{#if: {{{list10|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group10}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list10}}} | * }} | <ul>{{#replace: {{{list10}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group10}}}</th>
<li> }}</ul> | {{{list10}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list10}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group11|}}} | <tr>
-->{{#if: {{{group11|}}} | {{#if: {{{list11|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group11}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list11}}} | * }} | <ul>{{#replace: {{{list11}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group11}}}</th>
<li> }}</ul> | {{{list11}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list11}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group12|}}} | <tr>
-->{{#if: {{{group12|}}} | {{#if: {{{list12|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group12}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list12}}} | * }} | <ul>{{#replace: {{{list12}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group12}}}</th>
<li> }}</ul> | {{{list12}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list12}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group13|}}} | <tr>
-->{{#if: {{{group13|}}} | {{#if: {{{list13|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group13}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list13}}} | * }} | <ul>{{#replace: {{{list13}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group13}}}</th>
<li> }}</ul> | {{{list13}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list13}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group14|}}} | <tr>
-->{{#if: {{{group14|}}} | {{#if: {{{list14|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group14}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list14}}} | * }} | <ul>{{#replace: {{{list14}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group14}}}</th>
<li> }}</ul> | {{{list14}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list14}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group15|}}} | <tr>
-->{{#if: {{{group15|}}} | {{#if: {{{list15|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group15}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list15}}} | * }} | <ul>{{#replace: {{{list15}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group15}}}</th>
<li> }}</ul> | {{{list15}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list15}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group16|}}} | <tr>
-->{{#if: {{{group16|}}} | {{#if: {{{list16|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group16}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list16}}} | * }} | <ul>{{#replace: {{{list16}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group16}}}</th>
<li> }}</ul> | {{{list16}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list16}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group17|}}} | <tr>
-->{{#if: {{{group17|}}} | {{#if: {{{list17|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group17}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list17}}} | * }} | <ul>{{#replace: {{{list17}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group17}}}</th>
<li> }}</ul> | {{{list17}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list17}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group18|}}} | <tr>
-->{{#if: {{{group18|}}} | {{#if: {{{list18|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group18}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list18}}} | * }} | <ul>{{#replace: {{{list18}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group18}}}</th>
<li> }}</ul> | {{{list18}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list18}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group19|}}} | <tr>
-->{{#if: {{{group19|}}} | {{#if: {{{list19|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group19}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list19}}} | * }} | <ul>{{#replace: {{{list19}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group19}}}</th>
<li> }}</ul> | {{{list19}}} }}</td></tr>}}<!--
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
{{{list19}}}</td>
</tr>}} }}<!--


-->{{#if: {{{group20|}}} | <tr>
-->{{#if: {{{group20|}}} | {{#if: {{{list20|}}} |
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group20}}}</th>
<tr>
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list20}}} | * }} | <ul>{{#replace: {{{list20}}} | * | </li>
    <th class="navbox-group" {{#if: {{{groupstyle|}}} | style="{{{groupstyle}}}" }}>{{{group20}}}</th>
<li> }}</ul> | {{{list20}}} }}</td></tr>}}
    <td class="navbox-list" {{#if: {{{liststyle|}}} | style="{{{liststyle}}}" }}>
</table>{{#if: {{{placement|}}} | <ul>}}
{{{list20}}}</td>
{{#ifeq: {{{1}}} | child || </div> }}</includeonly>
</tr>}} }}
</table>
{{#if: {{{title|}}} | </div> }}</includeonly>

Aktualna wersja na dzień 10:10, 15 sie 2012