Template:Authorbox/Doc: Difference between revisions

From questden
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{Doc}}</noinclude>
<noinclude>{{Doc}}</noinclude>
A template for making authorboxes.  It replaces this header you used to have to copy-paste into every new one you made:
A template for making [[:Category:Author Boxes|authorboxes]].  It replaces this header you used to have to copy-paste into every new one you made:


  <nowiki> {| id="toc" width="70%" style="text-align:left; clear:both;" align=center
  <nowiki> {| id="toc" width="70%" style="text-align:left; clear:both;" align=center

Revision as of 14:50, 18 October 2015

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.