Template:Wikipedia text/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Documentation subpage of Template:Wikipedia_text)
 
m (→‎top: clean up, replaced: {{Documentation subpage → {{Doc/subpage)
 
Line 1: Line 1:
{{Documentation subpage}}
{{Doc/subpage}}
<!-- Please place categories where indicated at the bottom of this page.) -->
<!-- Please place categories where indicated at the bottom of this page.) -->
This is the {{tl|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.
This is the {{tl|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.

Latest revision as of 02:18, 12 January 2024

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}}