Difference between revisions of "Template:Infobox"

From LAH Wiki
Jump to: navigation, search
m (Fixed)
 
Line 1: Line 1:
{| style="width:310px; border:1px solid dimgray" align={{{align}}}
+
<noinclude>{{ATTN|''This template can be difficult to edit.  You may want to request changes on the talk page rather than make them yourself.''}}</noinclude>
 +
 
 +
{| 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]]
 
| style="border:1px solid dimgrey; text-align:center; background:black"| [[image:<includeonly>{{{imageFile}}}</includeonly><noinclude>ExampleAvvy.png</noinclude>|200px]]
  
<includeonly>{{ if: {{{page|}}}|</includeonly>
 
 
|-
 
|-
 
|
 
|
{| style="width:100%; border:1px dotted dimgray; background:black"
+
<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>
| style="width:33%; text-align:center" | '''Page'''
+
{{{page}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
| style="width:67%" | <includeonly>{{{page}}}</includeonly> <noinclude>#</noinclude>
+
|}<includeonly>}}</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>
|
+
{{{title}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
{| style="width:100%; border:1px dotted dimgray; background:black"
+
| style="width:33%; text-align:center" | '''Doujin'''
+
| style="width:67%" | <includeonly>{{{doujin}}}</includeonly> <noinclude>Doujin Name</noinclude>
+
|}
+
  
|-
+
--><includeonly>{{#if:{{{artist|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Artist'''</TD> <TD style="width:67%"> <includeonly>
|
+
{{{artist}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
{| style="width:100%; border:1px dotted dimgray; background:black"
+
| style="width:33%; text-align:center" | '''Artist/Cricle'''
+
| style="width:67%" |
+
<includeonly>{{{artist}}}</includeonly><noinclude>Artist's Name</noinclude>
+
|}
+
  
|-
+
--><includeonly>{{#if:{{{circle|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Circle'''</TD> <TD style="width:67%"> <includeonly>
|
+
{{{circle}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
{| style="width:100%; border:1px dotted dimgray; background:black"
+
| style="width:33%; text-align:center" | '''# of pages'''
+
| style="width:67%" | <includeonly>{{{numPages}}}</includeonly> <noinclude>#</noinclude>
+
|}
+
  
|-
+
--><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>
|
+
{{{director}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
{| style="width:100%; border:1px dotted dimgray; background:black"
+
| style="width:33%; text-align:center" | '''Characters'''
+
| style="width:67%" |
+
<includeonly>{{{characters}}}</includeonly><noinclude>List of Character Names</noinclude>
+
|}
+
  
|-
+
--><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>
|
+
{{{actors}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
{| style="width:100%; border:1px dotted dimgray; background:black"
+
| style="width:33%; text-align:center" | '''Series'''
+
| style="width:67%" |
+
<includeonly>{{{series}}}</includeonly><noinclude>Series Based on</noinclude>
+
|}
+
  
|-
+
--><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>
|
+
{{{numPages}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
{| style="width:100%; border:1px dotted dimgray; background:black"
+
 
| style="width:33%; text-align:center" | '''Language'''
+
--><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>
| style="width:67%" |  
+
{{{length}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
<includeonly>{{{language}}}</includeonly><noinclude>Language</noinclude>
+
 
|}
+
--><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>
 +
{{{characters}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
 +
 
 +
--><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>
 +
{{{content}}} </includeonly> <noinclude>Example, Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
 +
 
 +
--><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>
 +
{{{series}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
 +
 
 +
--><includeonly>{{#if:{{{episodes|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''# of Episodes'''</TD> <TD style="width:67%"> <includeonly>
 +
{{{episodes}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
 +
 
 +
--><includeonly>{{#if:{{{issues|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''# of Issues'''</TD> <TD style="width:67%"> <includeonly>
 +
{{{issues}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
 +
 
 +
--><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>
 +
{{{language}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
 +
 
 +
--><includeonly>{{#if:{{{censor|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Censoring'''</TD> <TD style="width:67%"> <includeonly>
 +
{{{censor}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
 +
 
 +
--><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>
 +
{{{publisher}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
 +
 
 +
--><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>
 +
{{{formats}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
 +
 
 +
--><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>
 +
{{{systems}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
 +
 
 +
--><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>
 +
{{{year}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
 +
 
 +
--><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>
 +
{{{begun}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
 +
 
 +
--><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>
 +
{{{ended}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
 +
 
 +
--><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>
 +
{{{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]]
+
|style="text-align:center; font-size:75%"|[[Template:DoujinPage|view this template]]
 
|}<noinclude>
 
|}<noinclude>
  
 
+
==Usage==
This is a template for including a page from a doujin in an article along with information on that page. It requires the following fields:
+
This is a general use infobox for including information on a doujin, manga, movie or game in an article. The following fields may be filled in, and any may be omitted.
* '''align''' - Optional.  Where the template aligns itself on the page.  Right is standard, but it can also be aligned left or center.
+
{{TwoColumnList|width=100%
* '''imageFile''' - the file name of the image.  The <nowiki>[[Image:]]</nowiki> code is unnecessary, and the template will resize the image to fit.
+
|Col1=
 +
* '''align''' - Where the template aligns itself on the page.  Right is standard, but it can also be aligned left or center.
 +
* '''imageFile''' - the file name of an image.  The <nowiki>[[Image:]]</nowiki> code is unnecessary, and the template will resize the image to fit.
 
* '''page''' - the page number
 
* '''page''' - the page number
* '''doujin''' - the name of the doujin
+
* '''title''' - the name of the work
* '''artist''' - the name of the artist or artist circle who produced the doujin.  This field can include a bulleted list if necessary
+
* '''artist''' - the name of the artist or artists who produced the work
* '''numPages''' - the number of pages in the doujin
+
* '''circle''' - the name of the circle that produced the work
* '''characters''' - the character or characters featured in the doujin.  This field can include a bulleted list.
+
* '''director''' - the director of the work
* '''series''' - the series on which the doujin is based.  This field can include a bulleted list.
+
* '''actors''' - the voice actors
* '''language''' - language the doujin was written in. This field can include a bulleted list (if, say, a translation is widely available.)
+
* '''numPages''' - the number of pages
 +
* '''length''' - the length of the movie
 +
* '''episodes''' - the number of episodes
 +
* '''issues''' - the number of issues
 +
* '''characters''' - the character or characters featured in the work
 +
* '''content''' - genres and/or fetishes the work includes
 +
|Col2=
 +
* '''series''' - the series to which the work belongs, or, in the case of a doujin, the series on which it is based
 +
* '''language''' - the language or languages in which the work is or was available
 +
* '''censor''' - the type of censorship, if any
 +
* '''publisher''' - the publisher of the work
 +
* '''formats''' - the formats in which the work is or was available
 +
* '''system''' - the system on which the game is or was available or on which it runs or ran
 +
* '''year''' - the year of release
 +
* '''begun''' - the date on which the first installment of the work was published
 +
* '''ended''' - the date on which the last installment of the work was published
 +
* '''status''' - the status of the work; for example, ongoing, over or on haitus
 +
* '''relatedWorks''' - other works in a series or franchise
 +
}}
  
The code to use is:
+
==Code==
 +
The code to use, omitting any fields not used, is:
 
<pre>
 
<pre>
{{DoujinPage|align=UserValue
+
{{Infobox|align=
| imageFile=UserValue
+
|imageFile=
| page=UserValue
+
|page=
| doujin=UserValue
+
|title=
| artist=UserValue
+
|artist=
| numPages=UserValue
+
|circle=
| characters=UserValue
+
|director=
| series=UserValue
+
|actors=
| language=Uservalue
+
|numPages=
|
+
|length=
 +
|characters=
 +
|series=
 +
|content=
 +
|language=
 +
|publisher=
 +
|formats=
 +
|system=
 +
|year=
 +
|begun=
 +
|ended=
 +
|status=
 +
|relatedWorks=
 
}}
 
}}
 
</pre>
 
</pre>
 
+
[[Category:Formatting templates]]
 +
[[Category:Infoboxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:52, 3 October 2007

Personal tools