Template:Wikipage port: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:
|image=[[File:Wikipedia's_W.png|40px|alt=|link=]]
|image=[[File:Wikipedia's_W.png|40px|alt=|link=]]
|txtcolor = black
|txtcolor = black
|bdcolor = gray
|bgcolor = #fff
|bgcolor = #fff
|style = border: 2px #474747 solid;{{border-radius|10px}}
|text = '''This is a wiki porting page.'''
|text = '''This is a wiki porting page.'''
|small = This page was ported from a page from [{{{website}}} {{{sitename}}}]. It was originally at [{{{fullurlpage|{{{website}}}{{#if:{{{no"wiki"prefix|}}}|/{{urlencode:{{{page|{{{1}}}}}}}}|{{localurl:{{{page|{{{1|{{NAMESPACE}}:{{PAGENAME}}}}}}}}}}}}}}} {{{alt|{{{1|{{FULLPAGENAME}}}}}}}}]. The original authors of this page are shown on [{{{fullurlpagehistory|{{{website}}}{{#if:{{{no"wiki"prefix|}}}|/index.php?title={{urlencode:{{{page|{{{1}}}}}}}}&action=history|{{localurl:{{{page|{{{1|{{NAMESPACE}}:{{PAGENAME}}}}}}}}|action=history}}}}}}} the page's edit history page].  
|small = This page was ported from a page from [{{{website}}} {{{sitename}}}]. It was originally at [{{{fullurlpage|{{{website}}}{{#if:{{{no"wiki"prefix|}}}|/{{urlencode:{{{page|{{{1}}}}}}}}|{{localurl:{{{page|{{{1|{{NAMESPACE}}:{{PAGENAME}}}}}}}}}}}}}}} {{{alt|{{{1|{{FULLPAGENAME}}}}}}}}]. The original authors of this page are shown on [{{{fullurlpagehistory|{{{website}}}{{#if:{{{no"wiki"prefix|}}}|/index.php?title={{urlencode:{{{page|{{{1}}}}}}}}&action=history|{{localurl:{{{page|{{{1|{{NAMESPACE}}:{{PAGENAME}}}}}}}}|action=history}}}}}}} the page's edit history page].  
}}</onlyinclude></includeonly>{{doc}}
}}</onlyinclude></includeonly>{{doc}}

Revision as of 18:49, 26 May 2023

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
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}}