Template:As of/cs

Do 2021

Dokumentace šablony

Podívejte se na stránku w:Template:As of.

Použití

Šablona {{As of }} se používá k označení potenciálně datovaných výpisů a přidá článek k Category:Articles containing potentially dated statements . To umožňuje editorům katalogizovat prohlášení, která mohou být časem zastaralá. Datum použité pro daný výrok by mělo být aktuální datum (u aktuálně platných výpisů) nebo datum, kdy byl citovaný odkaz vytvořen (například při použití údajů ze sčítání). Tato šablona by neměla být nahrazována.

Tato šablona negeneruje viditelný hypertextový odkaz v textu, kde je použita.

Syntaxe

Šablonu lze použít v následujících formách:

{{As of|year}}
{{As of|year|month}}
{{As of|year|month|day}}

Prosím nepoužívejte {{As of|{{CURRENTYEAR}}|{{CURRENTMONTH}}}} nebo podobné. Maří to pointu šablony.

Lze také použít několik dalších pojmenovaných parametrů (viz níže).

Příklady

Do 2010 Category:Pages containing potentially dated statements – Do 2010 Category:Pages containing potentially dated statements
Do července 2010 Category:Pages containing potentially dated statements – Do července 2010 Category:Pages containing potentially dated statements
Do Category:Pages containing potentially dated statements – Do Category:Pages containing potentially dated statements

TemplateData

Tato sekce obsahuje strukturovaný popis parametrů šablony využívající rozšíření TemplateData, který umožňuje snadnější používání této šablony v prostředí VisualEditoru.

As of

Category:Templates using TemplateData/cs

A template used to mark potentially dated statements, and will add an article to the “Category:Articles containing potentially dated statements”. This allows editors to catalogue statements that may become dated over time.

Template parameters

ParameterDescriptionTypeStatus
Year1

The year the statement is valid to. Must be in full numerical format (yyyy)

Numberrequired
Month2

The month the statement is valid to. Full, abbreviated or numerical formats supported (mm recommended).

Lineoptional
Day3

The day the statement is valid to (not included in link). Numerical format only (dd).

Numberoptional

Související odkazy

Category:Template documentation pages/cs Category:Inline templates/cs Category:Temporal templates/cs
Category:Inline templates/cs Category:Pages containing potentially dated statements Category:Pages using the JsonConfig extension Category:Template documentation pages/cs Category:Templates using TemplateData/cs Category:Temporal templates/cs