Tritt unserem Discord bei und informiere dich auf unserem Twitter-Kanal über die aktuellsten Themen rund um Fallout!
Die Seite wurde neu angelegt: „<onlyinclude><!-- -->{{hatnote|text=Gameplay Artikel{{#if:{{{2|}}}|s}}: <!-- -->{{#ifeq:{{lc:{{{type|}}}}}|mentioned|none<!-- -->{{#if:{{{1|}}}| (ment…“ |
K mentioned in zu erwähnt in übersetzt außerdem hab ich eine Variable entfernt die falls es sich um mehrere Artikel ein "s" hinzufügt was nur im eng. benötigt wird |
||
| Zeile 1: | Zeile 1: | ||
<onlyinclude><!-- | <onlyinclude><!-- | ||
-->{{hatnote|text=Gameplay Artikel | -->{{hatnote|text=Gameplay Artikel}}: <!-- | ||
-->{{#ifeq:{{lc:{{{type|}}}}}|mentioned| | -->{{#ifeq:{{lc:{{{type|}}}}}|mentioned|keines<!-- | ||
-->{{#if:{{{1|}}}| ( | -->{{#if:{{{1|}}}| (erwähnt in {{abb|{{{1}}}}}}}<!-- | ||
-->{{#if:{{{2|}}}|, {{abb|{{{2}}}}}}}<!-- | -->{{#if:{{{2|}}}|, {{abb|{{{2}}}}}}}<!-- | ||
-->{{#if:{{{3|}}}|, {{abb|{{{3}}}}}}}<!-- | -->{{#if:{{{3|}}}|, {{abb|{{{3}}}}}}}<!-- | ||
Version vom 10. Mai 2012, 11:58 Uhr
Gameplay Artikel
: }}
Template for linking gameplay articles from an overview article about a type of item. Automatically generates links based on the abbreviations specified.
Basierend auf {{Hatnote}}.
Nutzung
{{Spielartikel|game abbreviation 1|game abbreviation 2}}
Parameter
<unnamed 1> bis <unnamed 10>
Game abbreviations (e.g. "FO2"). See {{abb}} for valid abbreviations.
link
By default, the template generates links to subpages based on the name of the page it is used in. If the gameplay articles have a different naming than the overview page, you can use this parameter to specify the differing "base" name.
For example, if the template is used on a page called "Laser Pistol", the links it generates will be of the format "Laser Pistol (Fallout)" (etc). If you set
link to "Laser Gun", the links will have the format "Laser Gun (Fallout)".link1 bis link10
Allows you to set the target page for the corresponding unnamed parameter directly. This overrides the default behaviour of appending game names in brackets to the current pagename or the pagename set by
link.type
If set to "mentioned", no links will be generated. Instead the template will display that there are no appearances of this item and list the games it is mentioned in (if any).
Beispiele
Standard
{{Spielartikel|FO1|FO3|FOBOS}}
results in (hover mouse over the links to see the target page):
Gameplay Artikel
: Fallout, Fallout 3, Fallout: Brotherhood of Steel}}
With "link"
{{gamearticle|link=Laser Pistol|FO1|FO3|FOBOS}}
resultiert in (hover mouse over the links to see the target page):
Gameplay Artikel
: Fallout, Fallout 3, Fallout: Brotherhood of Steel}}
With "link#"
{{Spielartikel|FO1|FO3|FOBOS|link2=Laser Pistol}}
results in (hover mouse over the links to see the target page):
Gameplay Artikel
: Fallout, Fallout 3, Fallout: Brotherhood of Steel}}
With "type"
{{Spielartikel|type=mentioned|FO1|FO3|FOBOS}}
results in:
Gameplay Artikel
: keines (erwähnt in Fallout, Fallout 3, Fallout: Brotherhood of Steel)}}
Technisches
- Hilfsvorlage: {{Abb}}