Template:Wikipage port
来自Valve Developer Community
跳转到导航
跳转到搜索

文档页面 Template:Wikipage port/doc/zh 不存在。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
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.

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

Examples
{{wikipage port}} →

This is a wiki porting page.
This page was ported from a page from [{{{website}}} {{{sitename}}}]. It was originally at [{{{website}}}/wiki/Template:Wikipage_port Template:Wikipage port]. The original authors of this page are shown on [{{{website}}}/w/index.php?title=Template:Wikipage_port&action=history the page's edit history page].
This page was ported from a page from [{{{website}}} {{{sitename}}}]. It was originally at [{{{website}}}/wiki/Template:Wikipage_port Template:Wikipage port]. The original authors of this page are shown on [{{{website}}}/w/index.php?title=Template:Wikipage_port&action=history the page's edit history page].
{{wikipage port
| website = https://en.wikipedia.org
| sitename = Wikipedia
| page = Main_Page
| alt = Main Page
}}

This is a wiki porting page.
This page was ported from a page from Wikipedia. It was originally at Main Page. The original authors of this page are shown on the page's edit history page.
This page was ported from a page from Wikipedia. It was originally at Main Page. The original authors of this page are shown on the page's edit history page.
{{wikipage port|website=https://en.wikipedia.org|sitename=Wikipedia|Main Page}}

This is a wiki porting page.
This page was ported from a page from Wikipedia. It was originally at Main Page. The original authors of this page are shown on the page's edit history page.
This page was ported from a page from Wikipedia. It was originally at Main Page. The original authors of this page are shown on the page's edit history page.