Ikariam- Wiki
Advertisement


Dokumentation (In der Regel für ein Template. Dieses wird nicht unbedingt oben angezeigt.)
[Bearbeiten]Dokumentation für Vorlage:Flag

Displays a flag image.

Usage[]

{{Flag|<name or code> |c=caption|s=size|l=link|b=|loc=}}

  • This template uses the sub-template {{Flag/Image}} to determine the correct flag image.
  • This template uses the sub-template {{Flag/Caption}} to determine the correct default caption.

name or code

(required) Flag name or code.
c=
(optional) Used to display a caption other than the default for the flag.
s=
Flag size other than the default of 20px.
l=
(optional) Link to page or interlanguage link if flag is clicked.
b=
(optional) Removes the border from the flag.
loc=
(optional) Tells the flag to show on the left, center, or right side of the page.

Examples[]

{{Flag|us}} produces US / USA / United States / United States of America

{{Flag|blah}} produces "Das Bild für die Flagge von blah existiert nicht in der Vorlage {{Flag/Image}}"!

{{Flag|Test}} produces This is for Testing purposes only!

{{Flag|Test|b=}} produces This is for Testing purposes only!

{{Flag|Test|l=Main Page}} produces This is for Testing purposes only!

{{Flag|uK|c=Test|s=60px}} produces Test

{{Flag|US|c=Another test|s=40px|l=Main Page}} produces Another test

{{Flag|test|loc=left}} produces
This is for Testing purposes only!
{{Flag|test|loc=center}} produces
This is for Testing purposes only!
{{Flag|test|loc=right}} produces
This is for Testing purposes only!

Vorlage:For

Advertisement