Template:Wikipage port/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
{{ | == 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

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

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/doc Template:Wikipage port/doc]. The original authors of this page are shown on [{{{website}}}/w/index.php?title=Template:Wikipage_port/doc&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/doc Template:Wikipage port/doc]. The original authors of this page are shown on [{{{website}}}/w/index.php?title=Template:Wikipage_port/doc&action=history the page's edit history 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.