Template:CPT

From blackwiki
Revision as of 20:24, 21 May 2019 by imported>Trinaliv (Translated from the corresponding Portuguese template, see its history for attribution.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

 [[{{{1}}}|{{{1}}}]] 

Template documentation[view] [edit] [history] [purge]

Usage

Creates an icon to identify a municipality in Portugal, using the municipal code (full list see Portuguese version of this list).

Examples:

  • "{{CPT|GRD}}" creates "GRD"
  • "{{CPT|fun}}" creates "FUN"
  • "{{CPT|mmn||sem_estilo}}" creates "MMN"

Behaves like Template:Colorbox if the code is not valid:

  • "{{CPT|CDFT|Cedofeita}}" creates "CDFT"
  • "{{CPT|XPTO}}" creates "XPTO"

With flag

If b is used, a simplified municipal flag will be dispayed: