Template:Authorbox/Doc

From questden
< Template:Authorbox
Revision as of 01:59, 18 October 2015 by Dakdo (talk | contribs) (A clarification, and manually building wikitable formatting so it doesn't recursively apply borders to the example)
Jump to navigationJump to search
This is a template documentation page. It is transcluded into place.

A template for making authorboxes. It replaces this header you used to have to copy-paste into every new one you made:

 {| id="toc" width="70%" style="text-align:left; clear:both;" align=center
 |- style="background:#ccccff" align="center" width="95%"
 | '''Quests by [[NAME]]'''
 |-
 | style="font-size:11px" |

Just type {{subst:makebox}}, add your links, and close the table with |}.

This template also makes it so author boxes now support the authoralias parameter!

Example

Code Output

Template:NAME

 {{subst:makebox}}

 '''TGchan:'''
 [[Example Quest 1]] |
 [[Example Quest 2]] |
 [[Example Quest 3]]

 |}

 <noinclude>[[Category:Author Boxes]]</noinclude>

Template:NAME

Quests by NAME

TGchan: Example Quest 1 | Example Quest 2 | Example Quest 3

Category:Author Boxes


When you edit the author box in the future, the first line of code will have changed to:

{{authorbox|author=NAME|authoralias={{{authoralias|}}}}}.

This is expected behavior, and you don't need to mess with it.