Difference between revisions of "Template:Infobox"
From LAH Wiki
(→Usage) |
m (Fixed) |
||
Line 1: | Line 1: | ||
− | {| style="width: | + | <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><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> {{{page}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | + | <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> |
+ | {{{page}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <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><!-- | + | --><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><!-- | ||
− | --><includeonly>{{#if:{{{artist|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Artist | + | --><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><!-- | ||
− | --><includeonly>{{#if:{{{ | + | --><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><!-- | ||
− | --><includeonly>{{#if:{{{ | + | --><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><!-- | ||
− | --><includeonly>{{#if:{{{ | + | --><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><!-- | ||
− | --><includeonly>{{#if:{{{ | + | --><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><!-- | ||
− | --><includeonly>{{#if:{{{ | + | --><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> |
+ | {{{length}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
− | --><includeonly>{{#if:{{{ | + | --><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:{{{ | + | --><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:{{{ | + | --><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:{{{ | + | --><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:{{{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> | + | --><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| | + | |style="text-align:center; font-size:75%"|[[Template:DoujinPage|view this template]] |
|}<noinclude> | |}<noinclude> | ||
==Usage== | ==Usage== | ||
− | This is a | + | 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. |
{{TwoColumnList|width=100% | {{TwoColumnList|width=100% | ||
|Col1= | |Col1= | ||
* '''align''' - Where the template aligns itself on the page. Right is standard, but it can also be aligned left or center. | * '''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 | + | * '''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 | ||
* '''title''' - the name of the work | * '''title''' - the name of the work | ||
− | * '''artist''' - the name of the artist or | + | * '''artist''' - the name of the artist or artists who produced the work |
− | * '''numPages''' - the number of pages | + | * '''circle''' - the name of the circle that produced the work |
− | * '''characters''' - the character or characters featured in the | + | * '''director''' - the director of the work |
− | * ''' | + | * '''actors''' - the voice actors |
+ | * '''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= | |Col2= | ||
− | * '''language''' - language the | + | * '''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 | * '''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 | * '''year''' - the year of release | ||
− | * '''begun''' - | + | * '''begun''' - the date on which the first installment of the work was published |
− | * '''ended''' - | + | * '''ended''' - the date on which the last installment of the work was published |
− | * '''status''' - | + | * '''status''' - the status of the work; for example, ongoing, over or on haitus |
− | * '''relatedWorks''' - other works in a series | + | * '''relatedWorks''' - other works in a series or franchise |
}} | }} | ||
− | |||
==Code== | ==Code== | ||
The code to use, omitting any fields not used, is: | The code to use, omitting any fields not used, is: | ||
<pre> | <pre> | ||
− | {{ | + | {{Infobox|align= |
− | | imageFile= | + | |imageFile= |
− | | page= | + | |page= |
− | | title= | + | |title= |
− | | artist= | + | |artist= |
− | | numPages= | + | |circle= |
− | | characters= | + | |director= |
− | | series= | + | |actors= |
− | | language= | + | |numPages= |
− | | publisher= | + | |length= |
− | | year= | + | |characters= |
− | | begun= | + | |series= |
− | | ended= | + | |content= |
− | | status= | + | |language= |
− | | relatedWorks= | + | |publisher= |
+ | |formats= | ||
+ | |system= | ||
+ | |year= | ||
+ | |begun= | ||
+ | |ended= | ||
+ | |status= | ||
+ | |relatedWorks= | ||
}} | }} | ||
</pre> | </pre> |