Template:CPT/doc
Appearance
![]() | This is a documentation subpage for Template:CPT. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]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
[edit]If b
is used, a simplified municipal flag will be dispayed:
- "
{{CPT|LSB|b=}}
" creates "[[File:|x13px|border|bandeira]] LSB " (simplified) - "
{{CPT|FAR|b=Pt-far1.png}}
" creates "[[File:|x13px|border|bandeira]] FAR " (specified image) - "
{{CPT|PLRG|Pelariga|b=Bandeira de Pelariga.jpg}}
" creates "[[File:|x13px|border|bandeira]] PLRG " (municipal code not valid)- "
{{CPT|XPTO||b=}}
" creates "[[File:|x13px|border|bandeira]] XPTO "
- "
- "
{{CPT|fig||sem_estilo|b=}}
" creates "[[File:|x13px|border|bandeira]] FIG"