Template:Wikipedia text/doc

From Valve Developer Community
Jump to: navigation, search
Edit-copy.png
This is a documentation subpage for Template:Wikipedia text.
Don't forget to purge the contents of the base page upon creating or editing this subpage.  

This is the {{Wikipedia text}} template. It is meant to be added to the top of articles that were ported over from Wikipedia. It automatically fills in the information for the links from the article's page name, although this can be optionally overriden with a parameter.

Usage

{{Wikipedia text}}

Results in:

Parameters

This template accepts up to two optional parameters, one unnamed and one named.

To provide links to a different article, the name of the article can be provided as an unnamed parameter, like so:

{{Wikipedia text|Wikipedia:How to create a page}}

To specify if the article's text was modified, provide the modified parameter:

{{Wikipedia text|Wikipedia:How to create a page|modified=1}}