Difference between revisions of "Template:CPT"
Jump to navigation
Jump to search
imported>Trinaliv m (transl.) |
imported>Trinaliv m |
||
Line 434: | Line 434: | ||
| LMG = Lamego | | LMG = Lamego | ||
| LRA = Leiria | | LRA = Leiria | ||
− | | LSB = | + | | LSB = Lisbon |
| LLE = Loulé | | LLE = Loulé | ||
| LRS = Loures | | LRS = Loures |
Revision as of 20:39, 21 May 2019
[[{{{1}}}|{{{1}}}]]
Usage
Creates an icon to identify a municipality in Portugal, using the municipal code (full list see Portuguese version of this list).
Examples:
Behaves like Template:Colorbox if the code is not valid:
With flag
If b
is used, a simplified municipal flag will be dispayed:
- "
{{CPT|LSB|b=}}
" creates "LSB " (simplified)
- "
{{CPT|FAR|b=Pt-far1.png}}
" creates "FAR " (specified image)
- "
{{CPT|PLRG|Pelariga|b=Bandeira de Pelariga.jpg}}
" creates "PLRG " (municipal code not valid)
- "
{{CPT|XPTO||b=}}
" creates "XPTO "
- "
- "
{{CPT|fig||sem_estilo|b=}}
" creates "FIG"
The above documentation is transcluded from Template:CPT/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |