Modul:Country listdata/dok
Videz
| To je dokumentacijska podstran za glavno stran Modul:Country listdata. Namenjena je shranjevanju navodil, kategorizaciji in drugi vsebini, ki ni del glavne strani. |
| To je dokumentacijska podstran za glavno stran Modul:Country listdata. Namenjena je shranjevanju navodil, kategorizaciji in drugi vsebini, ki ni del glavne strani. |
| Uporablja Lua: |
This template formats a list of country data templates, for use as "see also" in the documentation of such templates.
Parameters
[uredi kodo]1,2, ...,n- Each numbered parameter is a country, subdivision or other entity name, corresponding to what you would use as first parameter in flag templates such as {{flag}}.
var1,var2, ...,varn- Specify flag variants for the corresponding entities. The variant name is displayed in brackets.
note1,note2, ...,noten- Add explanatory text to the right of each row.
header- Inserts a standardized text above the list. Possible values are "related", "for:" followed by any text, or anything else for custom text.
Examples
[uredi kodo]{{country listdata|Afganistan|Albanija|Alžirija}} →
| Predloga:Podatki države Afganistan | ||
| Predloga:Podatki države Albanija | ||
| Predloga:Podatki države Alžirija |
Using variants and notes:
{{country listdata|Avstralija|var1=naval|Brazilija|note2=This is a note}} →
Predloga:Podatki države Avstralija (naval variant) | ||
| Predloga:Podatki države Brazilija | This is a note |
In the parameter list, parameters with empty strings or whitespace only are allowed and not included in the output, so parameters can be safely emptied to remove a country. Undefined "gaps", however, such as parameter 6 in this example, will cause all higher-number parameters to be ignored.
{{country listdata|1=Afganistan|2=Albanija|3= |4=AAlžirijageria|5=Andora|7=Angola|8=Italija}} →
| Predloga:Podatki države Afganistan | ||
| Predloga:Podatki države Albanija | ||
| Predloga:Podatki države Alžirija | ||
| Predloga:Podatki države Andora |