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 (includeonly)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><cleanspace>
+
<includeonly><span class="plainlinks">[{{fullurl:{{{1}}}|{{{3|}}}}} {{#if:{{{style|}}}|<span style="{{{style}}}">{{{2|}}}</span>|{{{2|}}}}}]</span></includeonly><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>
 

Latest revision as of 14:47, 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