Difference between revisions of "Template:Pl/Doc"
The Beyond Skyrim Wiki — Hosted by UESP
m (1 revision imported: templates from UESPWiki) |
m (clean out MetaTemplate) |
||
| Line 1: | Line 1: | ||
| − | |||
== Summary == | == Summary == | ||
This template is used to create an external link without the http://skins.uesp.net/monobook/external-ltr.png icon displayed in most skins. | This template is used to create an external link without the http://skins.uesp.net/monobook/external-ltr.png icon displayed in most skins. | ||
== Parameters == | == Parameters == | ||
| − | {{ | + | {| class="wikitable" |
| − | |1|required|The name of the local or interwiki page. | + | !colspan="3"| {{{template|{{BASEPAGENAME}}}}} |
| − | |2|optional|A name to use for the link. | + | |- |
| − | |3|optional|A query string such as <code>action{{=}}edit</code>. Remember to escape equals signs or use <code>3{{=}}action{{=}}edit</code>. | + | ! Parameter !! Scope !! Description |
| − | | | + | |- |
| − | |style| | + | |1||required||The name of the local or interwiki page. |
| − | + | |- | |
| + | |2||optional||A name to use for the link. | ||
| + | |- | ||
| + | |3||optional||A query string such as <code>action{{=}}edit</code>. Remember to escape equals signs or use <code>3{{=}}action{{=}}edit</code>. | ||
| + | |- | ||
| + | |style||optional||A CSS style string to be applied to the link. | ||
| + | |} | ||
== Examples == | == Examples == | ||
| Line 17: | Line 22: | ||
|- | |- | ||
|External link to local page | |External link to local page | ||
| − | |{{ | + | |<code><nowiki>{{Pl|Category:Templates}}</nowiki></code> |
|{{Pl|Category:Templates}} | |{{Pl|Category:Templates}} | ||
|- | |- | ||
|Interwiki link with name with CSS coloring | |Interwiki link with name with CSS coloring | ||
| − | |{{ | + | |<code><nowiki>{{Pl|Wikipedia:Wikipedia:Main Page|Wikipedia Main Page|style=color:green}}</nowiki></code> |
|{{Pl|Wikipedia:Wikipedia:Main Page|Wikipedia Main Page|style=color:green}} | |{{Pl|Wikipedia:Wikipedia:Main Page|Wikipedia Main Page|style=color:green}} | ||
|- | |- | ||
|Action query (with escaped = in third parameter) | |Action query (with escaped = in third parameter) | ||
| − | |{{ | + | |<code><nowiki>{{Pl|UESPWiki:Community Portal|Edit Community Portal|action{{=}}edit}}</nowiki></code> |
|{{Pl|UESPWiki:Community Portal|Edit Community Portal|action{{=}}edit}} | |{{Pl|UESPWiki:Community Portal|Edit Community Portal|action{{=}}edit}} | ||
|- | |- | ||
|Diff (long-hand) | |Diff (long-hand) | ||
| − | |{{ | + | ||<code><nowiki>{{Pl|Main Page|Last edit to Main Page|3=diff=0&oldid=prev}}</nowiki></code> |
|{{Pl|Main Page|Last edit to Main Page|3=diff=0&oldid=prev}} | |{{Pl|Main Page|Last edit to Main Page|3=diff=0&oldid=prev}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
|- | |- | ||
|What Links Here? | |What Links Here? | ||
| − | |{{ | + | ||<code><nowiki>{{Pl|Special:WhatLinksHere|3=''Pages that link to Lore:Thaumaturgy''|4=3=target=''Lore:Thaumaturgy''&namespace=}}</nowiki></code> |
|{{Pl|Special:WhatLinksHere|Pages that link to Lore:Thaumaturgy|3=target=Lore:Thaumaturgy&namespace=}} | |{{Pl|Special:WhatLinksHere|Pages that link to Lore:Thaumaturgy|3=target=Lore:Thaumaturgy&namespace=}} | ||
|}<includeonly>[[Category:External Link Templates]]</includeonly><noinclude>[[Category:Template Documentation|{{PAGENAME}}]]</noinclude> | |}<includeonly>[[Category:External Link Templates]]</includeonly><noinclude>[[Category:Template Documentation|{{PAGENAME}}]]</noinclude> | ||
Latest revision as of 15:44, 29 June 2017
Summary[edit]
This template is used to create an external link without the http://skins.uesp.net/monobook/external-ltr.png icon displayed in most skins.
Parameters[edit]
| Pl | ||
|---|---|---|
| Parameter | Scope | Description |
| 1 | required | The name of the local or interwiki page. |
| 2 | optional | A name to use for the link. |
| 3 | optional | A query string such as action=edit. Remember to escape equals signs or use 3=action=edit.
|
| style | optional | A CSS style string to be applied to the link. |
Examples[edit]
| Link Type | Example | Results |
|---|---|---|
| External link to local page | {{Pl|Category:Templates}}
|
[1] |
| Interwiki link with name with CSS coloring | {{Pl|Wikipedia:Wikipedia:Main Page|Wikipedia Main Page|style=color:green}}
|
Wikipedia Main Page |
| Action query (with escaped = in third parameter) | {{Pl|UESPWiki:Community Portal|Edit Community Portal|action{{=}}edit}}
|
Edit Community Portal |
| Diff (long-hand) | {{Pl|Main Page|Last edit to Main Page|3=diff=0&oldid=prev}}
|
Last edit to Main Page |
| What Links Here? | {{Pl|Special:WhatLinksHere|3=''Pages that link to Lore:Thaumaturgy''|4=3=target=''Lore:Thaumaturgy''&namespace=}}
|
Pages that link to Lore:Thaumaturgy |