Difference between revisions of "Template:CategoryTemplatecs"

From Wikicarpedia
Jump to navigation Jump to search
Line 8: Line 8:


== Parametry ==
== Parametry ==
* <code>1</code> (požadované): Název kategorie.
* <code>name</code> (povinné): Název kategorie.
* <code>variant</code> [<code>link</code>] (volitelné): Zobrazí kategorii jako link.
* <code>category</code> [<code>view</code>] (volitelné): Zobrazí kategorii ve výchozí šabloně.


== Příklady ==
== Příklady ==
Line 35: Line 37:
* {{CategoryTemplatecs|name=Vnitřní louka|variant=link|template=view}}
* {{CategoryTemplatecs|name=Vnitřní louka|variant=link|template=view}}
* {{CategoryTemplatecs|name=Malý most|variant=link|template=view}}
* {{CategoryTemplatecs|name=Malý most|variant=link|template=view}}
* {{CategoryTemplatecs|Velký most|variant=link}}
* {{CategoryTemplatecs|name=Velký most|variant=link|template=view}}
* {{CategoryTemplatecs|Městský nadchod|variant=link}}
* {{CategoryTemplatecs|name=Městský nadchod|variant=link|template=view}}
* {{CategoryTemplatecs|Průchozí cesta|variant=link}}
* {{CategoryTemplatecs|name=Průchozí cesta|variant=link|template=view}}
<!--{{CategoryTemplatecs|Spojené konce cesty|variant=link}}-->
<!--{{CategoryTemplatecs|name=Spojené konce cesty|variant=link|template=view}}-->
<!--{{CategoryTemplatecs|Křižovatka|variant=link}}-->
<!--{{CategoryTemplatecs|name=Křižovatka|variant=link|template=view}}-->
* {{CategoryTemplatecs|Vesnice|variant=link}}
* {{CategoryTemplatecs|name=Vesnice|variant=link|template=view}}
* {{CategoryTemplatecs|Klášter ve městě|variant=link}}
* {{CategoryTemplatecs|name=Klášter ve městě|variant=link|template=view}}
* {{CategoryTemplatecs|Tunel|variant=link}}
* {{CategoryTemplatecs|name=Tunel|variant=link|template=view}}
* {{CategoryTemplatecs|Speciální kláštery|variant=link}}
* {{CategoryTemplatecs|name=Speciální kláštery|variant=link|template=view}}
<!--{{CategoryTemplatecs|Ukončená cesta|variant=link}}-->
<!--{{CategoryTemplatecs|name=Ukončená cesta|variant=link|template=view}}-->
* {{CategoryTemplatecs|Oddělené části města|variant=link}}
* {{CategoryTemplatecs|name=Oddělené části města|variant=link|template=view}}
<!--{{CategoryTemplatecs|Družiníci|variant=link}}-->
<!--{{CategoryTemplatecs|name=Družiníci|variant=link|template=view}}-->
<!--{{CategoryTemplatecs|Speciální figurky|variant=link}}-->
<!--{{CategoryTemplatecs|name=Speciální figurky|variant=link|template=view}}-->
<!--{{CategoryTemplatecs|Neutrální figurky|variant=link}}-->
<!--{{CategoryTemplatecs|name=Neutrální figurky|variant=link|template=view}}-->
* {{CategoryTemplatecs|Speciální kláštery|variant=link}}
* {{CategoryTemplatecs|name=Speciální kláštery|variant=link|template=view}}
* {{CategoryTemplatecs|Obléhání|variant=link}}
* {{CategoryTemplatecs|name=Obléhání|variant=link|template=view}}


=== [[Template:BeginTileList/cs|BeginTileList]] ===
=== [[Template:BeginTileList/cs|BeginTileList]] ===

Revision as of 07:50, 14 June 2024

Výchozí zobrazení

Popis

Šablona pro tvorbu kategorií z šablon.

Parametry

  • name (povinné): Název kategorie.
  • variant [link] (volitelné): Zobrazí kategorii jako link.
  • category [view] (volitelné): Zobrazí kategorii ve výchozí šabloně.

Příklady

Kód Popis
{{CategoryTemplatecs|name=TestCategorycs}} Příklad kategorie
[Kategorie se ve výchozí šabloně NEZOBRAZÍ]
{{CategoryTemplatecs|name=Tunel|variant=link}} Příklad kategorie jako odkaz
[Kategorie se ve výchozí šabloně NEZOBRAZÍ]
{{CategoryTemplatecs|name=TestCategorycs|category=view}} Příklad kategorie zobrazené v šabloně
[Kategorie se zobrazí ve spodní liště]
{{CategoryTemplatecs|name=Tunel|variant=link|category=view}} Příklad kategorie jako odkaz v šabloně
Tunel

Použití

Cs

BeginTileList