Difference between revisions of "Template:pbl"
Jump to navigation
Jump to search
m |
m |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <span class="plainlinks">[http://powerbase.info/index.php/{{{1}}}{{#if:{{{4|}}}||<span style="color:#477979 !important;" title="Powerbase: {{{1}}}">}}{{#replace:{{#replace:{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}|_|<nowiki> </nowiki> <nowiki> </nowiki>}}|#|<nowiki> </nowiki> § <nowiki> </nowiki>}}</span>]{{{3|}}}<sup>[[File:Powerbase- | + | <span class="plainlinks">[http://powerbase.info/index.php/{{{1}}}{{#if:{{{4|}}}||<span style="color:#477979 !important;" title="Powerbase: {{{1}}}">}}{{#replace:{{#replace:{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}|_|<nowiki> </nowiki> <nowiki> </nowiki>}}|#|<nowiki> </nowiki> § <nowiki> </nowiki>}}</span>]{{{3|}}}<sup>[[File:Powerbase-graphic.svg|12px|link={{{1}}}]]</sup></span><noinclude>{{doc2}}</noinclude> |
Latest revision as of 19:13, 4 January 2019
[edit] Documentation
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,
FixMe: There's s'thing wrong with this template; it barfs on spaces between words.
Source: RationalWiki