Dokumentation (In der Regel für ein Template. Dieses wird nicht unbedingt oben angezeigt.)
[Bearbeiten]Dokumentation für Vorlage:Flag
Diese Dokumentation wurde von Vorlage:Flag/doc eingebunden.
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|blah}} produces "Das Bild für die Flagge von blah existiert nicht in der Vorlage {{Flag/Image}}"!
{{Flag|Test|l=Main Page}} produces
{{Flag|uK|c=Test|s=60px}} produces
{{Flag|US|c=Another test|s=40px|l=Main Page}} produces
{{Flag|test|loc=left}} produces {{Flag|test|loc=center}} produces {{Flag|test|loc=right}} producesVorlage:For