Difference between revisions of "Template:pbl/doc"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "=== Usage === This is a template for in-text linking to Powerbase '''in articles'''. If the name of the Powerbase article is the same as the desired text of the link, use jus...")
 
m
Line 9: Line 9:
  
 
To avoid leaving a large space before a punctuation sign, leave the second parameter blank and use the punctuation sign as a third parameter. For example:
 
To avoid leaving a large space before a punctuation sign, leave the second parameter blank and use the punctuation sign as a third parameter. For example:
−
  <nowiki>{{pbl|Conservapedia||,}}</nowiki>
+
  <nowiki>{{pbl|Conservapedia_Blah||,}}</nowiki>
−
results in {{wpl|Conservapedia||,}}
+
results in {{pbl|Conservapedia_Blah||,}}
 +
 
 +
''Note to me: there's sthing wrong with this template; it barfs on spaces between words.''
  
 
Source: [https://rationalwiki.org/wiki/Template:Wpl RationalWiki]
 
Source: [https://rationalwiki.org/wiki/Template:Wpl RationalWiki]
  
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>

Revision as of 00:45, 22 May 2018

Usage

This is a template for in-text linking to Powerbase in articles.

If the name of the Powerbase article is the same as the desired text of the link, use just

{{pbl|name of Powerbase article}}

If you want to put some other text in the link or format it in some special way, you need to pass it as the second parameter:

{{pbl|name of Powerbase article|''alternative'' text}}

To avoid leaving a large space before a punctuation sign, leave the second parameter blank and use the punctuation sign as a third parameter. For example:

{{pbl|Conservapedia_Blah||,}}

results in Conservapedia Blah,Powerbase-graphic.svg

Note to me: there's sthing wrong with this template; it barfs on spaces between words.

Source: RationalWiki