Difference between revisions of "Template:Battrib"

From Dungeons and Dragons Wiki
Jump to: navigation, search
(Created page with '<includeonly><sup>[[{{{1}}}]]</sup></includeonly><noinclude> {{documentation}}</noinclude>')
 
(added optional page number parameter)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly><sup>[[{{{1}}}]]</sup></includeonly><noinclude>
+
<includeonly><sup>{{#if: {{{2|}}}|[[{{{1}}}|{{{2}}}]]|[[{{{1}}}]]}}{{#if: {{{3|}}}|, pg. {{{3|}}}|}}</sup></includeonly><noinclude>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 21:51, 13 September 2009

Template documentation (for the above template, sometimes hidden or invisible)

These template is used for making attributions and references to various Wizards of the Coast sourcebooks. If you want to reference the Complete Warrior Samurai, for example, you could type Samurai{{batrrib|CW}} and the result would be SamuraiCW.

Alternatively, you can provide a different link than the name that shows up in superscript. If you want that, again using the Samurai example, you would type Samurai{{battrib|Complete Warrior|CW}} and the result would be SamuraiCW.

You may also optionally supply a page number by adding a third parameter. Again using the Samurai example, you would type Samurai{{battrib|Complete Warrior|CW|8}} and the result would be SamuraiCW, pg. 8.


Visit Template:Battrib/doc to edit this text! (How does this work?)