Difference between revisions of "Template:Infobox"
From LAH Wiki
Line 4: | Line 4: | ||
|- | |- | ||
| | | | ||
− | {{#if:{{{page|}}}| <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>{{#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><!-- | |
− | + | ||
− | {| style="width:100%; border:1px dotted dimgray; background:black" | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | --><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> {{{artist}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | |
− | + | ||
− | {| style="width:100%; border:1px dotted dimgray; background:black" | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | --><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> {{{numpPages}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | |
− | + | ||
− | {| style="width:100%; border:1px dotted dimgray; background:black" | + | |
− | + | ||
− | + | ||
− | <includeonly>{{{ | + | |
− | + | ||
− | + | --><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><!-- | |
− | + | ||
− | {| style="width:100%; border:1px dotted dimgray; background:black" | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | --><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> {{{page}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | |
− | + | ||
− | {| style="width:100%; border:1px dotted dimgray; background:black" | + | |
− | + | ||
− | + | ||
− | <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> {{{page}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | |
− | + | ||
− | {| style="width:100%; border:1px dotted dimgray; background:black" | + | |
− | + | ||
− | + | ||
− | <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> |
− | + | ||
− | {| style="width:100%; border:1px dotted dimgray; background:black" | + | --><includeonly>{{#if:{{{year|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Year Released'''</TD> <TD style="width:67%"> <includeonly> {{{year}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly> |
− | | style="width:33%; text-align:center" | + | |
− | | style="width:67%" | + | --><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> {{{date}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</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> | ||
|- | |- | ||
Line 65: | Line 35: | ||
− | This is a template for including a page from a doujin in an article along with information on | + | This is a template for including a page or cover from a doujin or manga in an article along with information on the work. The following fields may be filled in, and any may be omitted. |
− | * '''align''' - | + | * '''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 the image. The <nowiki>[[Image:]]</nowiki> code is unnecessary, and the template will resize the image to fit. | * '''imageFile''' - the file name of the 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 |
− | * '''artist''' - the name of the artist or artist circle who produced the | + | * '''artist''' - the name of the artist or artist circle who produced the work |
* '''numPages''' - the number of pages in the doujin | * '''numPages''' - the number of pages in the doujin | ||
− | * '''characters''' - the character or characters featured in the doujin | + | * '''characters''' - the character or characters featured in the doujin |
− | * '''series''' - the series | + | * '''series''' - the series to which the work belongs, or, in the case of a doujin, the series on which it is based |
− | * '''language''' - language the doujin was written in | + | * '''language''' - language the doujin was written in |
+ | * '''publisher''' - the publisher of the work | ||
+ | * '''year''' - the year of release | ||
+ | * '''begun''' - in the case of web series which began on a given date, this is the date on which it began | ||
+ | * '''ended''' - in the case of web series which ends on a given date, this is the date on which it ends | ||
+ | * '''status''' - in the case of web series, it's status; for example, ongoing, ended or on haitus | ||
+ | * '''relatedWorks''' - other works in a series | ||
The code to use is: | The code to use is: | ||
<pre> | <pre> | ||
− | {{ | + | {{PageInfoBox|align=UserValue |
| imageFile=UserValue | | imageFile=UserValue | ||
| page=UserValue | | page=UserValue | ||
− | | | + | | title=UserValue |
| artist=UserValue | | artist=UserValue | ||
| numPages=UserValue | | numPages=UserValue | ||
Line 87: | Line 63: | ||
| series=UserValue | | series=UserValue | ||
| language=Uservalue | | language=Uservalue | ||
+ | | publisher=Uservalue | ||
+ | | year=Uservalue | ||
+ | | begun=Uservalue | ||
+ | | ended=Uservalue | ||
+ | | status=Uservalue | ||
+ | | relatedWorks=Uservalue | ||
| | | | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Formatting Templates]] | [[Category:Formatting Templates]] | ||
+ | [[Category:Infoboxes]] | ||
</noinclude> | </noinclude> |