Difference between revisions of "Template:Infobox:Ubrania"

From Cantr II Wiki
Jump to: navigation, search
m
(Próba zrobienia żeby działało)
Line 1: Line 1:
<includeonly>{{Infobox:UbraniaBase
+
<includeonly>{{Infobox:ClothingBase
| title    = {{{title|}}}
+
| title    = {{{Tytuł|}}}
| image    = {{{image|}}}
+
| image    = {{{Obraz|}}}
| resize    = {{{resize|}}}
+
| resize    = {{{Rozmiar|}}}
| comment  = {{{description|}}}
+
| comment  = {{{Opis|}}}
 
| section1  = Ubrania
 
| section1  = Ubrania
 
| item0s1  = Kategoria
 
| item0s1  = Kategoria
| info0s1  = {{if|test={{{category|}}}|then=[[:Category:{{{category}}}|{{{category}}}]]|else={{Inc1}}}}
+
| info0s1  = {{if|test={{{Kategoria|}}}|then=[[:Kategoria:{{{Kategoria}}}|{{{Kategoria}}}]]|else={{Inc1}}}}
 
| item1s1  = Typ
 
| item1s1  = Typ
| info1s1  = {{if|test={{{type|}}}|then=[[:Category:{{{type}}}|{{{type}}}]]|else={{Inc1}}}}
+
| info1s1  = {{if|test={{{typ|}}}|then=[[:Kategoria:{{{typ}}}|{{{typ}}}]]|else={{Inc1}}}}
| item2s1  = Czas
+
| item2s1  = {{if|test={{{typ2|}}}|then=Typ|else=}}
| info2s1  = {{if|test={{{time|}}}|then={{{time}}}|else={{Inc1}}}} dni
+
| info2s1  = {{if|test={{{typ2|}}}|then=[[:Kategoria:{{{typ2}}}|{{{typ2}}}]]|else=}}
| item3s1  = Surowce
+
| item3s1  = Czas
| info3s1  = {{if|test={{{resources|}}}|then=Resources|else=}}
+
| info3s1  = {{if|test={{{czas|}}}|then={{{Czas}}}|else={{Inc1}}}} dni
| item4s1  = Przedmioty
+
| item4s1  = {{if|test={{{surowce|}}}|then=Surowce|else=}}
| info4s1  = {{if|test={{{objects|}}}|then=Objects|else=}}
+
| info4s1   = {{{surowce}}}
| item5s1   = Narzędzia
+
| item5s1   = {{if|test={{{przedmioty|}}}|then=Przedmioty|else=}}
| info5s1   = {{if|test={{{tools|}}}|then=Tools|else=}}
+
| info5s1   = {{{przedmioty}}}
| item6s1   = Maszyny
+
| item6s1   = {{if|test={{{narzędzia|}}}|then=Narzędzia|else=}}
| info6s1   = {{if|test={{{machines|}}}|then=Machines|else=}}
+
| info6s1   = {{{narzędzia}}}
 +
| item7s1   = {{if|test={{{urządzenia|}}}|then=Urządzenia|else=}}
 +
| info7s1  = {{{urządzenia}}}
 
}}
 
}}
<!-- Object categories -->
 
{{if|test={{{category|}}}|then={{if|test={{{sortingname|}}}|then=[[Category:{{{category}}}|{{{sortingname}}}]]|else={{if|test={{{title|}}}|then=[[Category:{{{category}}|{{{title}}}]]|else=[[Category:{{{category}}}]]}}}}|else=}}
 
{{if|test={{{type|}}}|then={{if|test={{{sortingname|}}}|then=[[Category:{{{type}}}|{{{sortingname}}}]]|else={{if|test={{{title|}}}|then=[[Category:{{{type}}|{{{title}}}]]|else=[[Category:{{{type}}}]]}}}}|else=}}
 
[[Category:Clothing]]</includeonly>
 
<!-- Template categories --><noinclude>{{Doc}}[[Category:Templates|{{PAGENAME}}]]</noinclude>
 

Revision as of 17:42, 22 July 2015