Template:Wikipage port/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (style for {{Doc/PreviewBlock}})
Line 19: Line 19:
== Examples ==
== Examples ==
{{Code|<nowiki>{{wikipage port}}</nowiki>}} →
{{Code|<nowiki>{{wikipage port}}</nowiki>}} →
{{wikipage port}}
{{Doc/PreviewBlock|padding=10px 10px 10px 10px|style=border: 1px solid rgba(255,255,255,.2); box-shadow: 0 5px 10px rgba(0,0,0,.5)|{{wikipage port}}}}




Line 28: Line 28:
| alt   = Main Page
| alt   = Main Page
}}</nowiki>}}
}}</nowiki>}}
{{Doc/PreviewBlock|padding=10px 10px 10px 10px|style=border: 1px solid rgba(255,255,255,.2); box-shadow: 0 5px 10px rgba(0,0,0,.5)|
{{wikipage port
{{wikipage port
| website  = https://en.wikipedia.org
| website  = https://en.wikipedia.org
Line 33: Line 34:
| page   = Main_Page
| page   = Main_Page
| alt   = Main Page
| alt   = Main Page
}}
}}
}}



Revision as of 08:16, 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.

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

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 wikilink)

{{{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 for "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 }}