Difference between revisions of "Template:Pl"

The Beyond Skyrim Wiki — Hosted by UESP
Jump to: navigation, search
m (1 revision imported: templates from UESPWiki)
m (clean out MetaTemplate)
Line 1: Line 1:
<includeonly><cleanspace>
+
<span class="plainlinks">[{{fullurl:{{{1}}}|{{{3|}}}}} {{#if:{{{style|}}}|<span style="{{{style}}}">{{{2|}}}</span>|{{{2|}}}}}]</span><noinclude>{{/Doc}}</noinclude>
{{#preview:1|Category:Templates}}
 
{{#define:3|action={{{action}}}|if={{#if:{{{action|}}}|1}}}}
 
{{#define:3|curid={{{curid}}}|if={{#if:{{{curid|}}}|1}}}}
 
{{#define:3|diff={{{diff}}}|if={{#if:{{{diff|}}}|1}}}}
 
{{#define:3|group={{{group}}}|if={{#if:{{{group|}}}|1}}}}
 
{{#define:3|oldid={{{oldid}}}|if={{#if:{{{oldid|}}}|1}}}}
 
</cleanspace><span class="plainlinks">[{{fullurl:{{{1}}}|{{{3|}}}}} {{#if:{{{style|}}}|<span style="{{{style}}}">{{{2|}}}</span>|{{{2|}}}}}]</span></includeonly><noinclude>{{/Doc}}</noinclude>
 

Revision as of 14:38, 29 June 2017

[{{fullurl:{{{1}}}|}} ]== 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.

Parameters

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

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