Jump to content

Template:CreditWikipedia: Difference between revisions

From Red Faction Wiki
No edit summary
No edit summary
 
Line 16: Line 16:
}
}
},
},
"description": "Creates a banner at the top of the page to show that the page's information is used from a Wikipedia article.",
"description": "Creates a banner at the top of the page to show that there is information on the page that has been taken from a Wikipedia article.",
"format": "inline"
"format": "inline"
}
}

Latest revision as of 05:03, 29 January 2024

Creates a banner at the top of the page to show that there is information on the page that has been taken from a Wikipedia article.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Wikipedia Page1

The Wikipedia page that the current page uses information from.

Example
Volition (company)
Page nameoptional
Display Label2

A display name of the linked Wikipedia page, usually a shortened version of the linked page or the name of the current page. Don't use unless absolutely necessary.

Example
Volition
Stringoptional
{{CreditWikipedia|WIKIPEDIA_PAGE|DISPLAY_LABEL}}

Usage:

{{CreditWikipedia|Volition (company)}}

Output:


Other Cases:

When a page on the Red Faction Wiki has the same name as on Wikipedia, you can use the template without any parameters, for example:

{{CreditWikipedia}}