Template:Wikipage port/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}


{{wikipage port}}
== Parameters ==
{{param|website}} - Link to the wiki from which the page was ported
 
{{param|sitename}} - The short name of the wiki from which the page was ported
 
{{param|page}} - The full name of the page (do not leave spaces, this is a link)
 
{{param|alt}} - The short name of the page specified in {{param|page}}
 
{{param|fullurlpage}} - ''Optional'' Can be used instead of {{param|page}} to enter the full url of the page
 
{{param|fullurlpagehistory}} - ''Optional'' Full url in "the page's edit history page"
 
{{param|no"wiki"prefix}} - ''Optional'' Removes {{Code|/wiki/}} from the link in {{param|page}}
 
== Examples ==
{{Code|<nowiki>{{Wikipage port}}</nowiki>}} →
{{Wikipage port}}
 
 
{{CodeBlock|<nowiki>{{Wikipage port
|website=https://en.wikipedia.org
|sitename=Wikipedia
|page=Main_Page
|alt=Main Page
}}</nowiki>}}
{{Wikipage port
|website=https://en.wikipedia.org
|sitename=Wikipedia
|page=Main_Page
|alt=Main Page
}}

Revision as of 04:47, 11 February 2023

Edit-copy.png
This is a documentation subpage for Template:Wikipage port.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Parameters

{{{website}}} - Link to the wiki from which the page was ported

{{{sitename}}} - The short name of the wiki from which the page was ported

{{{page}}} - The full name of the page (do not leave spaces, this is a link)

{{{alt}}} - The short name of the page specified in {{{page}}}

{{{fullurlpage}}} - Optional Can be used instead of {{{page}}} to enter the full url of the page

{{{fullurlpagehistory}}} - Optional Full url in "the page's edit history page"

{{{no"wiki"prefix}}} - Optional Removes /wiki/ from the link in {{{page}}}

Examples

{{Wikipage port}}


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