Difference between revisions of "Template:CPT/doc"
Jump to navigation
Jump to search
imported>Trinaliv m |
imported>Trinaliv m (Correct.) |
||
Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
− | Creates an icon to identify a municipality in Portugal, using the municipal code (full list [[ | + | Creates an icon to identify a municipality in Portugal, using the municipal code (full list [[List of municipalities of Portugal|see Portuguese version of this list]]). |
Examples: | Examples: |
Revision as of 21:36, 21 May 2019
![]() | This is a documentation subpage for Template:CPT. It contains usage information, categories and other content that is not part of the original template page. |
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"