Użytkownik:Tomciu2/brudnopis: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
test |
testy potencjalnie nowych navboxów |
||
| Linia 1: | Linia 1: | ||
{|class=" | <includeonly>{{#ifeq: {{{1}}} | child || <div class="navbox" style="{{{bodystyle|}}}">}}{{ | ||
#switch: {{{placement|}}} | top = </ul> | middle | bottom = </li></ul> | |||
|- | }}<table style="{{#ifeq: {{{1}}} | child | margin: <!-- | ||
| | -->{{#switch: {{{placement}}} | top = -2px 4px 0 | ||
| | | middle = 0 4px 0 | ||
| | | bottom = 0 4px -2px | ||
|- | | #default = -2px 4px -2px }} -4px" | " class="{{#if: {{{state|}}} | {{{state}}} | collapsible }}" }}> | ||
| | {{#ifeq: {{{1}}} | child || <tr> | ||
| | <th class="navbox-top" colspan="2" style="{{{titlestyle|}}}"><!-- | ||
| | -->{{#switch: {{{1}}} | navbar | navbar-mini = <span class="navbox-navbar{{#ifeq: {{{1}}} | navbar-mini | -mini }}"><!-- | ||
| | -->[[Template:{{{name}}}|<span title="View this template">v{{#ifeq: {{{1}}} | navbar | iew }}</span>]] • <!-- | ||
| | -->[[Template talk:{{{name}}}|<span title="Discuss this template">d{{#ifeq: {{{1}}} | navbar | iscuss }}</span>]] • <!-- | ||
|- | --><span class="plainlinks">[{{fullurl:Template:{{{name}}}|action=edit}} <span title="Edit this template">e{{#ifeq: {{{1}}} | navbar | dit }}</span>]</span><!-- | ||
| | --></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> | ||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group2}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list2}}} | * }} | <ul>{{#replace: {{{list2}}} | * | </li> | |||
<li> }}</ul> | {{{list2}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group3|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group3}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list3}}} | * }} | <ul>{{#replace: {{{list3}}} | * | </li> | |||
<li> }}</ul> | {{{list3}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group4|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group4}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list4}}} | * }} | <ul>{{#replace: {{{list4}}} | * | </li> | |||
<li> }}</ul> | {{{list4}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group5|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group5}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list5}}} | * }} | <ul>{{#replace: {{{list5}}} | * | </li> | |||
<li> }}</ul> | {{{list5}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group6|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group6}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list6}}} | * }} | <ul>{{#replace: {{{list6}}} | * | </li> | |||
<li> }}</ul> | {{{list6}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group7|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}"> {{{group7}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list7}}} | * }} | <ul>{{#replace: {{{list7}}} | * | </li> | |||
<li> }}</ul> | {{{list7}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group8|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group8}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list8}}} | * }} | <ul>{{#replace: {{{list8}}} | * | </li> | |||
<li> }}</ul> | {{{list8}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group9|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group9}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list9}}} | * }} | <ul>{{#replace: {{{list9}}} | * | </li> | |||
<li> }}</ul> | {{{list9}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group10|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group10}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list10}}} | * }} | <ul>{{#replace: {{{list10}}} | * | </li> | |||
<li> }}</ul> | {{{list10}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group11|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group11}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list11}}} | * }} | <ul>{{#replace: {{{list11}}} | * | </li> | |||
<li> }}</ul> | {{{list11}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group12|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group12}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list12}}} | * }} | <ul>{{#replace: {{{list12}}} | * | </li> | |||
<li> }}</ul> | {{{list12}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group13|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group13}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list13}}} | * }} | <ul>{{#replace: {{{list13}}} | * | </li> | |||
<li> }}</ul> | {{{list13}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group14|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group14}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list14}}} | * }} | <ul>{{#replace: {{{list14}}} | * | </li> | |||
<li> }}</ul> | {{{list14}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group15|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group15}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list15}}} | * }} | <ul>{{#replace: {{{list15}}} | * | </li> | |||
<li> }}</ul> | {{{list15}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group16|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group16}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list16}}} | * }} | <ul>{{#replace: {{{list16}}} | * | </li> | |||
<li> }}</ul> | {{{list16}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group17|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group17}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list17}}} | * }} | <ul>{{#replace: {{{list17}}} | * | </li> | |||
<li> }}</ul> | {{{list17}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group18|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group18}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list18}}} | * }} | <ul>{{#replace: {{{list18}}} | * | </li> | |||
<li> }}</ul> | {{{list18}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group19|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group19}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list19}}} | * }} | <ul>{{#replace: {{{list19}}} | * | </li> | |||
<li> }}</ul> | {{{list19}}} }}</td></tr>}}<!-- | |||
-->{{#if: {{{group20|}}} | <tr> | |||
<th class="navbox-group" style="{{{groupstyle|}}}">{{{group20}}}</th> | |||
<td class="navbox-list" style="{{{liststyle|}}}">{{#if: {{#pos: {{{list20}}} | * }} | <ul>{{#replace: {{{list20}}} | * | </li> | |||
<li> }}</ul> | {{{list20}}} }}</td></tr>}} | |||
</table>{{#if: {{{placement|}}} | <ul>}} | |||
{{#ifeq: {{{1}}} | child || </div> }}</includeonly> | |||