Difference between revisions of "Template:Authorbox/Doc"

From questden
(updating doc to match change to template)
Line 2: Line 2:
 
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:
 
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> {| width="70%" style="text-align:left; clear:both; background-color: #F9F9F9; border:1px solid #AAAAAA; border-spacing: 7px; border-collapse: separate;" align=center
 
  |- style="background:#ccccff" align="center" width="95%"
 
  |- style="background:#ccccff" align="center" width="95%"
  | '''Quests by [[NAME]]'''
+
  | style="font-size:12px" | '''Quests by [[NAME]]'''
 
  |-
 
  |-
 
  | style="font-size:11px" |</nowiki>
 
  | style="font-size:11px" |</nowiki>

Revision as of 01:15, 14 December 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:

 {| width="70%" style="text-align:left; clear:both; background-color: #F9F9F9; border:1px solid #AAAAAA; border-spacing: 7px; border-collapse: separate;" align=center
 |- style="background:#ccccff" align="center" width="95%"
 | style="font-size:12px" | '''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.