游戏文章:
Template documentation (for the template shown above, sometimes hidden or invisible)

Template for linking gameplay articles from an overview article about a type of item. Automatically generates links based on the abbreviations specified.

Based on {{Hatnote}}.

Usage

{{gamearticle|game abbreviation 1|game abbreviation 2}}

Parameters

Required
<unnamed 1> up to <unnamed 10>
Game abbreviations (e.g. "FO2"). See {{abb}} for valid abbreviations.
Optional
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)".
Optional
link1 up to 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.
Optional
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).

Examples

Standard

{{gamearticle|FO1|FO3|FOBOS}}

results in (hover mouse over the links to see the target page):

With "link"

{{gamearticle|link=Laser pistol|FO1|FO3|FOBOS}}

results in (hover mouse over the links to see the target page):

With "link#"

{{gamearticle|FO1|FO3|FOBOS|link2=Laser pistol}}

results in (hover mouse over the links to see the target page):

With "type"

{{gamearticle|type=mentioned|FO1|FO3|FOBOS}}

results in:

游戏文章: none (mentioned in Fallout, Fallout 3, Fallout: Brotherhood of Steel)

Technical

  • Auxiliary template: {{Abb}}
Documentation transcluded from Template:Gamearticle/doc.
社区内容除另有注明外,均在CC-BY-SA许可协议下提供。