Difference between revisions of "Template:Infobox"

From LAH Wiki
Jump to: navigation, search
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><!--
-->{{#if:{{{doujin|}}}| <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>#</noinclude></TD> </TR> </TABLE> }}
+
  
|-
+
--><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" | '''Page'''
+
| style="width:67%" | <includeonly>{{{page}}}</includeonly> <noinclude>#</noinclude>
+
|}
+
  
|-
+
--><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"
+
| style="width:33%; text-align:center" | '''Doujin'''
+
| style="width:67%" | <includeonly>{{{doujin}}}</includeonly> <noinclude>Doujin Name</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> {{{numpPages}}} </includeonly> <noinclude>#</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:{{{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"
+
| style="width:33%; text-align:center" | '''# of pages'''
+
| style="width:67%" | <includeonly>{{{numPages}}}</includeonly> <noinclude>#</noinclude>
+
|}
+
  
|-
+
--><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"
+
| style="width:33%; text-align:center" | '''Characters'''
+
| style="width:67%" |
+
<includeonly>{{{characters}}}</includeonly><noinclude>List of Character Names</noinclude>
+
|}
+
  
|-
+
--><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"
+
| style="width:33%; text-align:center" | '''Series'''
+
| style="width:67%" |
+
<includeonly>{{{series}}}</includeonly><noinclude>Series Based on</noinclude>
+
|}
+
  
|-
+
--><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" | '''Language'''
+
 
| 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>{{{language}}}</includeonly><noinclude>Language</noinclude>
+
 
|}
+
--><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 that page.  It requires the following fields:
+
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''' - Optional.  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 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
* '''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 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.  This field can include a bulleted list.
+
* '''characters''' - the character or characters featured in the doujin
* '''series''' - the series on which the doujin is based.  This field can include a bulleted list.
+
* '''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. This field can include a bulleted list (if, say, a translation is widely available.)
+
* '''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>
{{DoujinPage|align=UserValue
+
{{PageInfoBox|align=UserValue
 
| imageFile=UserValue
 
| imageFile=UserValue
 
| page=UserValue
 
| page=UserValue
| doujin=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>

Revision as of 22:59, 15 July 2007

Personal tools