Difference between revisions of "Template:TEST"

From LAH Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude><center>''This is a template for testing new templates and experimenting with template coding.  Please ignore it.''</center>
 
<noinclude><center>''This is a template for testing new templates and experimenting with template coding.  Please ignore it.''</center>
 +
{| style="width:240px; border:1px solid dimgray" align={{{align}}}
 +
| style="border:1px solid dimgrey; text-align:center; background:black"| [[image:<includeonly>{{{imageFile}}}</includeonly><noinclude>ExampleAvvy.png</noinclude>|200px]]
  
</noinclude>
+
|-
<noinclude>{| align=right
+
|
|__ToC__
+
<includeonly>{{#if:{{{page|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Page'''</TD> <TD style="width:67%"> <includeonly>
|}</noinclude>
+
{{{page}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
<TABLE style="width:240px; border:1px solid dimgray" align=<includeonly>{{#if: {{{align|}}}|{{{align}}}|right}}</includeonly>><TR><TD>
+
  
<includeonly>{{#if:{{{test1|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Name'''</TD> <TD style="width:67%"> <includeonly>
+
<includeonly>{{#if:{{{title|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Title'''</TD> <TD style="width:67%"> <includeonly>
{{{test1}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
+
{{{title}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
  
<includeonly>{{#if:{{{test2|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Loli?'''</TD> <TD style="width:67%"> <includeonly>
+
<includeonly>{{#if:{{{artist|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Artist/Circle'''</TD> <TD style="width:67%"> <includeonly>
{{{test2}}} </includeonly> <noinclude>Yes/No</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly></TD></TR></TABLE><noinclude>
+
{{{artist}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
{{-}}
+
==Usage==
+
This is a template for including a character profile in a standard way. The following fields may be filled in, and any may be omitted, with the exception of the header and imageFile.
+
  
{{TwoColumnList|width=100%
+
<includeonly>{{#if:{{{director|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Director'''</TD> <TD style="width:67%"> <includeonly>
|Col1=
+
{{{director}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
* '''header''' - the template header, usually the character's name
+
* '''align''' - Where the template aligns itself on the page.  Right is standard, but it can also be aligned left or center. If left blank, it will default to right.
+
* '''imageFile''' - the file name of the image.  The <nowiki>[[Image:]]</nowiki> code is unnecessary, and the template will resize the image to fit.
+
* '''caption''' - a caption for the image
+
* '''name''' - the name of the character
+
* '''loli''' - is the character a loli? (yes, no, debatable) (leave blank if male)
+
* '''shota''' - is the character a shota? (yes, no, debatable) (leave blank if female)
+
* '''height''' - the height of the character, in both standard and metric if possible.
+
* '''weight''' - the weight of the character, in both standard and metric if possible.
+
* '''measurements''' - the character's bust, waist and hip measurements
+
* '''eyes''' - the color of the character's eyes
+
* '''hair''' - the color of the chracters's hair
+
* '''realHair''' - some girls do dye their hair, you know . . .
+
* '''age''' - age of the character
+
* '''birthdate''' - the date of the character's birth
+
|Col2=
+
* '''origin''' - the character's place of origin
+
* '''mother''' - the name of the character's mother
+
* '''father''' - the name of the character's fother
+
* '''custom1title''' - a costom field for in-universe character-specific info
+
* '''custom1data''' - the data for costum1title
+
* '''custom2title''' - a costom field for in-universe character-specific info
+
* '''custom2data''' - the data for costum1title
+
* '''custom3title''' - a costom field for in-universe character-specific info
+
* '''custom3data''' - the data for costum1title
+
* '''custom4title''' - a costom field for in-universe character-specific info
+
* '''custom4data''' - the data for costum1title
+
* '''series''' - the series in which the character appears
+
* '''actor''' - the actor who voiced the character
+
* '''relatedCharacters''' - characters related to the character (preferably limited to those who have an article on LAH Wiki
+
* '''creator''' - the name of the creator or creators of the character
+
* '''custom5title''' - a costom field for out-of-universe character-specific info
+
* '''custom5data''' - the data for costum1title
+
* '''custom6title''' - a costom field for out-of-universe character-specific info
+
* '''custom6data''' - the data for costum1title
+
}}
+
  
==Code==
+
<includeonly>{{#if:{{{actors|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Voice Actors'''</TD> <TD style="width:67%"> <includeonly>
The code to use, omitting any fields not used, is:
+
{{{actors}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
<pre>
+
 
{{CharacterInfobox
+
<includeonly>{{#if:{{{numPages|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''# of pages'''</TD> <TD style="width:67%"> <includeonly>
|align=
+
{{{numpPages}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
|header=
+
 
|imageFile=
+
<includeonly>{{#if:{{{length|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Length'''</TD> <TD style="width:67%"> <includeonly>
|caption=
+
{{{length}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
|name=
+
 
|loli=
+
<includeonly>{{#if:{{{characters|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Characters'''</TD> <TD style="width:67%"> <includeonly>
|shota=
+
{{{characters}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
|height=
+
 
|weight=
+
<includeonly>{{#if:{{{content|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Content'''</TD> <TD style="width:67%"> <includeonly>
|measurements=
+
{{{content}}} </includeonly> <noinclude>
|eyes=
+
*Example
|hair=
+
*Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
|realhair=
+
 
|age=
+
<includeonly>{{#if:{{{series|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Series'''</TD> <TD style="width:67%"> <includeonly>
|birthdate=
+
{{{series}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
|origin=
+
 
|father=
+
<includeonly>{{#if:{{{language|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Language'''</TD> <TD style="width:67%"> <includeonly>
|mother=
+
{{{language}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
|costom1title=
+
 
|costom1data=
+
<includeonly>{{#if:{{{publisher|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Publisher'''</TD> <TD style="width:67%"> <includeonly>
|costom2title=
+
{{{publisher}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
|costom2data=
+
 
|costom3title=
+
<includeonly>{{#if:{{{formats|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Formats'''</TD> <TD style="width:67%"> <includeonly>
|costom3data=
+
{{{formats}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
|costom4title=
+
 
|costom4data=
+
<includeonly>{{#if:{{{systems|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Systems'''</TD> <TD style="width:67%"> <includeonly>
|series=
+
{{{systems}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
|actor=
+
 
|relatedCharacters=
+
<includeonly>{{#if:{{{year|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Year of Release'''</TD> <TD style="width:67%"> <includeonly>
|creator=
+
{{{year}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
|costom5title=
+
 
|costom5data=
+
<includeonly>{{#if:{{{begun|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Date Begun'''</TD> <TD style="width:67%"> <includeonly>
|costom6title=
+
{{{begun}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
|costom6data=
+
 
}}
+
<includeonly>{{#if:{{{ended|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Date Ended'''</TD> <TD style="width:67%"> <includeonly>
</pre>
+
{{{ended}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
[[Category:Formatting templates]]
+
 
[[Category:Infoboxes]]
+
<includeonly>{{#if:{{{status|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Status'''</TD> <TD style="width:67%"> <includeonly>
</noinclude>
+
{{{status}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
 +
 
 +
<includeonly>{{#if:{{{relatedWorks|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Related Works'''</TD> <TD style="width:67%"> <includeonly>
 +
{{{relatedWorks}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
 +
 
 +
|-
 +
|style="text-align:center; font-size:75%"|[[Template:DoujinPage|veiw this template]]
 +
|}

Revision as of 11:45, 24 July 2007

Personal tools