Template:Wikipage port

From Valve Developer Community
Jump to: navigation, search
Curly brackets white.pngTemplate Documentation
Icon-translate.png
View
Edit
Page history

A panel indicating that this page has been ported from another wiki.

Parameters and Descriptions

The following parameters are sorted by priority. Higher priority parameters will overwrite the lower priority parameters:

  • {{{fullurlpage}}} - Optional: Can be used instead of {{{page}}} to enter the full url of the page. With the highest priority, templates take precedence over this parameter.
  • {{{fullurlpagehistory}}} - Optional: Full url for "the page's edit history page". With the highest priority, templates take precedence over this parameter.
  • {{{website}}} - Required: Link to the wiki from which the page was ported.
Note.pngNote:The "/" character must not be the last character of the url. For example, you must enter https://en.wikipedia.org instead of https://en.wikipedia.org/.
  • {{{sitename}}} - Required: The short name of the wiki from which the page was ported.
    • {{{no"wiki"prefix}}} - Optional: Removes /wiki/ from the link in {{{page}}}.
    • {{{page}}} - The full name of the page.
    • {{{alt}}} - The short name of the page specified in {{{page}}}.
      • {{{1}}} - The full name of the porting page. It is similar to specifying both {{{page}}} and {{{alt}}} as {{{1}}}.
Note.pngNote:Doesn't allow line breaks.

Examples

{{wikipage port}}


{{wikipage port | website = https://en.wikipedia.org | sitename = Wikipedia | page = Main_Page | alt = Main Page }}
{{wikipage port|website=https://en.wikipedia.org|sitename=Wikipedia|Main Page}}