Template:Infobox Denjuu T1: Difference between revisions

From Wikifang, a definitive guide to Telefang, Dino Device and Bugsite
Jump to navigation Jump to search
No edit summary
(Now uses .pngs of official art if they exist.)
 
(94 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{| class="numberinfobox"
<includeonly>{| class="numberinfobox"
| rowspan="2" style="vertical-align:middle;" | ←  
| rowspan="2" style="vertical-align:middle;" width="14.2857%" | ←  
{{#ifexpr:{{{no}}} < 3|{{!}}|{{!}}{{#ifexpr:{{{no}}} < 10|00|{{#ifexpr:{{{no}}} < 100|0}}}}{{#expr:{{{no}}} - 2}} [[{{switch-T1|{{#expr:{{{no}}} - 2}}}}]]}}
{{#ifexpr:{{{no}}} < 3|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}#{{padleft:{{#expr:{{{no}}}-2}}|3|0}} [[{{switch-T1|{{padleft:{{#expr:{{{no}}}-2}}|3|0}}}}]]}}
{{#ifexpr:{{{no}}} < 2|{{!}}|{{!}}{{#ifexpr:{{{no}}} < 10|00|{{#ifexpr:{{{no}}} < 100|0}}}}{{#expr:{{{no}}} - 1}} [[{{denjuuswitch|{{#expr:{{{no}}} - 1}}}}]]}}
{{#ifexpr:{{{no}}} < 2|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}#{{padleft:{{#expr:{{{no}}}-1}}|3|0}} [[{{switch-T1|{{padleft:{{#expr:{{{no}}}-1}}|3|0}}}}]]}}
| '''{{{name|{{PAGENAME}}}}}'''
| width="14.2857%" | '''{{{name|{{PAGENAME}}}}}'''
{{#ifexpr:{{{no}}} > 173|{{!}}|{{!}}{{#ifexpr:{{{no}}} < 10|00|{{#ifexpr:{{{no}}} < 100|0}}}}{{#expr:{{{no}}} + 1}} [[{{switch-T1|{{#expr:{{{no}}} + 1}}}}]]}}
{{#ifexpr:{{{no}}} > 173|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}#{{padleft:{{#expr:{{{no}}}+1}}|3|0}} [[{{switch-T1|{{padleft:{{#expr:{{{no}}}+1}}|3|0}}}}]]}}
{{#ifexpr:{{{no}}} > 172|{{!}}|{{!}} {{#ifexpr:{{{no}}} < 10|00|{{#ifexpr:{{{no}}} < 100|0}}}}{{#expr:{{{no}}} + 2}} [[{{switch-T1|{{#expr:{{{no}}} + 2}}}}]]}}
{{#ifexpr:{{{no}}} > 172|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}#{{padleft:{{#expr:{{{no}}}+2}}|3|0}} [[{{switch-T1|{{padleft:{{#expr:{{{no}}}+2}}|3|0}}}}]]}}
| rowspan="2" style="vertical-align:middle;" | →  
| rowspan="2" style="vertical-align:middle;" width="14.2857%" | →  
|-
|-
{{#ifexpr:{{{no}}} < 3|{{!}}|{{!}}[[Image:T1-{{#ifexpr:{{{no}}} < 10|00|{{#ifexpr:{{{no}}} < 100|0}}}}{{#expr:{{{no}}} - 2}}-I.gif]]}}
{{#ifexpr:{{{no}}} < 3|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}[[Image:T1-{{padleft:{{#expr:{{{no}}}-2}}|3|0}}-I.gif]]}}
{{#ifexpr:{{{no}}} < 2|{{!}}|{{!}}[[Image:T1-{{#ifexpr:{{{no}}} < 10|00|{{#ifexpr:{{{no}}} < 100|0}}}}{{#expr:{{{no}}} - 1}}-I.gif]]}}
{{#ifexpr:{{{no}}} < 2|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}[[Image:T1-{{padleft:{{#expr:{{{no}}}-1}}|3|0}}-I.gif]]}}
| [[Image:T1-{{{no}}}-I.gif]]
| width="14.2857%" | [[Image:T1-{{{no}}}-I.gif]]
{{#ifexpr:{{{no}}} > 173|{{!}}|{{!}}[[Image:T1-{{#ifexpr:{{{no}}} < 10|00|{{#ifexpr:{{{no}}} < 100|0}}}}{{#expr:{{{no}}} + 1}}-I.gif]]}}
{{#ifexpr:{{{no}}} > 173|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}[[Image:T1-{{padleft:{{#expr:{{{no}}}+1}}|3|0}}-I.gif]]}}
{{#ifexpr:{{{no}}} > 174|{{!}}|{{!}}[[Image:T1-{{#ifexpr:{{{no}}} < 10|00|{{#ifexpr:{{{no}}} < 100|0}}}}{{#expr:{{{no}}} + 2}}-I.gif]]}}
{{#ifexpr:{{{no}}} > 172|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}[[Image:T1-{{padleft:{{#expr:{{{no}}}+2}}|3|0}}-I.gif]]}}
|}</includeonly>
|}</includeonly>
{| width="250px" class="infobox"
{| align="right" cellpadding="2" style="background: #B18B64; width: 250px; border-spacing: 0px; color: #000000;  margin-bottom:0.5em; margin-left:1em;" class="t1_infobox"
| class="foundintd" colspan="2" | '''{{v|Telefang 1}} Denjuu'''<small>{{#ifexist:Image:T1-{{{no}}}-i.gif|&nbsp;[[Image:T1-{{{no}}}-i.gif]]}}</small>
|- style="text-align:center; background: #FFFFFF;"
! colspan="2" | [[File:Telefang 1 icon.gif]] [[List of Denjuu in Telefang 1|'''Denjuu''']]
|- style="text-align:center;"
| colspan="2" style="border-style: solid; border-color: #000000; border-width: 1px 1px 0 1px;" | [[Image:T1-{{{no}}}-IS.gif]]&nbsp;<big>'''{{{name}}}'''</big> <br /> {{{ja}}} / {{{romaji}}}
|- style="background: #FDFDAB; text-align:center;"
| style="border: 1px solid #000000; width: 80px;" | No. {{{no}}}
| style="border: 1px solid #000000; border-left-width: 0;" | Bootleg: {{{bootlegname}}}
|- style="height: 1px; background: #8F684B"
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" |
|- style="background: #FFFFFF; text-align: center;"
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" | [[File:T1-{{{no}}}.gif]]
|- style="background: #FFFFFF; text-align: center;"
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" |
{| class="collapsible collapsed" style="border: none; background: #FFFFFF; width:100%;"
! Official artwork
|-
|-
| colspan="2" class="infoheading" | {{#if:{{{name|}}}|'''{{{name|}}}'''|'''{{PAGENAME}}'''}}<span style="font-size:14px !important;">{{#if:{{{japname|}}}|<br />'''{{{japname}}}'''{{#if:{{{romaji|}}}| ''{{{romaji}}}''}}}}</span><span style="font-size:12px; color:#666666;">{{#if:{{{bootlegname|}}}|<br />Bootleg: {{{bootlegname|}}}}}</span>
| {{#ifexist: File:T1-{{{no}}}-O.png | [[File:T1-{{{no}}}-O.png]] | {{#ifexist: File:T1-{{{no}}}-O.gif | [[File:T1-{{{no}}}-O.gif]] | [[File:Unidentified.gif]] }} }}
{{#if:{{{no|}}}| {{!}}-
|}
{{!}} colspan="2" class="imagebox" {{!}} [[Image:T1-{{{no}}}.gif]]}}
|- style="height: 1px; background: #8F684B"
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" |
|-
| style="text-align: center; border: 1px solid #000000; border-top-width: 0;" | Stage
| style="background: #FDFDAB; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" | [[{{{stage}}} Denjuu]]
|-
| style="text-align: center; border: 1px solid #000000; border-top-width: 0;" | Type
| style="background: #FDFDAB; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" | {{mt|{{{type}}}}}
|-
| style="text-align: center; border: 1px solid #000000; border-top-width: 0;" | Exp. Item
| style="background: #FDFDAB; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" | {{#switch: {{{exp-item|???}}} | {{item|{{{exp-item<noinclude>|Flamethrower</noinclude>}}}}}}}
{{#switch: {{{dna-item|<includeonly>None</includeonly>}}} | none | None = |
{{!}}-
{{!}} style{{=}}"text-align: center; border: 1px solid #000000; border-top-width: 0;" {{!}} DNA Item
{{!}} style{{=}}"background: #FDFDAB; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" {{!}} {{item|{{{dna-item<noinclude>|Biolent 3</noinclude>}}}}}}}
|-
|-
! No.
| style="text-align: center; border: 1px solid #000000; border-top-width: 0;" | Ringtone
| {{{no|}}}
| style="background: #FDFDAB; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" | [[File:T1-R-{{{ringtone}}}.ogg|noicon]]
{{#if: {{{type|}}} | {{!}}-
|- style="height: 1px; background: #8F684B"
! [[Type]]
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" |
{{!}} {{mt|{{{type|}}}}} }}
{{#if: {{{stage|}}} | {{!}}-
! [[Evolutionary stage]]
{{!}} [[{{{stage|}}}]] }}
{{#if: {{{exp-item|}}} | {{!}}-
! [[Exp. item]]
{{!}} {{i|{{{exp-item}}}}} }}
{{#if:{{{dna-item|}}}| {{!}}-
! [[DNA item]]
{{!}} {{#ifeq:{{{dna-item}}}|None|None|{{#ifeq:{{{dna-item}}}|-|None|{{i|{{{dna-item}}}}}}}}} }}
|-
|-
! [[Version]] found in
| style="text-align: center; border: 1px solid #000000; border-top-width: 0;" | Version
| {{v|Telefang 1|{{#if:{{{found-in2|}}}|{{{found-in2}}}}}|{{#if:{{{found-in3|}}}|{{{found-in3}}}}}|{{#if:{{{found-in4|}}}|{{{found-in4}}}}}}}
| style="background: #FDFDAB; border: solid #000000; padding-left: 4px; border-width: 0 1px 1px 0;" | [[File:{{{found-in}}}_icon.gif]] {{#if:{{{found-in2|}}}|[[File:{{{found-in2}}}_icon.gif]]|}}
|- align="center"
{{#ifeq:{{{telefang2|}}}|true|
{{#ifeq:{{{found-in2}}}|Telefang 2|
{{!}}-
{{!}} colspan="2" class="colspantd" {{!}} <small>[[{{{name|{{PAGENAME}}}}} (Basic)|{{{name}}}]] is also found in [[Telefang 2]]</small>|{{#ifeq:{{{found-in3}}}|Telefang 2|
{{!}} colspan="2" style="height: 1px; background: #FDFDAB; border: 1px solid #000000;" {{!}} <div align="center"><small>{{#ifexist: {{{name|{{PAGENAME}}}}} (Basic) | [[{{{name|{{PAGENAME}}}}} (Basic)|{{{name}}}]]| {{#ifexist: {{{name|{{PAGENAME}}}}} (T2) | [[{{{name|{{PAGENAME}}}}} (T2)|{{{name}}}]]| [[{{{name|{{PAGENAME}}}}} (Basic)|{{{name}}}]]| }} }} is also found in [[Telefang 2]]</small></div>}}
{{!}} colspan="2" class="colspantd" {{!}} <small>[[{{{name|{{PAGENAME}}}}} (Basic)|{{{name}}}]] is also found in [[Telefang 2]]</small>|{{#ifeq:{{{found-in4}}}|Telefang 2|
|- style="height: 1px; background: #8F684B;"
{{!}} colspan="2" class="colspantd" {{!}} <small>[[{{{name|{{PAGENAME}}}}} (Basic)|{{{name}}}]] is also found in [[Telefang 2]]</small>}}}}}}
| colspan="2" style="border: 1px solid #000000; border-top-width: 0;" |
|}
|}<includeonly><!--
<includeonly>[[Category:Denjuu in Telefang 1]]{{#if:{{{stage|}}}|[[Category:{{{stage}}} Denjuu]]}}{{#if:{{{type|}}}|[[Category:{{{type}}}-type Denjuu]]}}{{#if:{{{found-in|}}}|{{#ifeq:{{{found-in2}}}|Power|{{#ifeq:{{{found-in3}}}|Speed|[[Category:Denjuu in both Power and Speed versions of Telefang 1]]|[[Category:Power version-exclusive Denjuu in Telefang 1]]}}|[[Category:Speed version-exclusive Denjuu in Telefang 1]]}}}}</includeonly><noinclude>
//-->[[Category:Denjuu in Telefang 1]]<!--
==Documentation==
//-->{{#if:{{{stage|}}}|[[Category:{{{stage}}} Denjuu]]}}<!--
This is an infobox, which is a box containing important figures and general stats of the Denjuu, floated to the right of the article.
//-->{{#if:{{{type|}}}|[[Category:{{{type}}}-type Denjuu]]}}<!--
//--></includeonly>
<noinclude>
== Description ==
 
This is the infobox for Denjuu in Telefang 1.
 
To use this template, copy the text below into the top of an article and fill in each section:


==Usage==
Put the following text at the top of the Denjuu article. After filling them in, remove those that you left blank.
<pre><nowiki>
<pre><nowiki>
{{Infobox Denjuu T1
{{Infobox Denjuu T1
| name =  
| name         =  
| japname =  
| ja          =  
| romaji =  
| romaji       =  
| no =  
| bootlegname  =  
| type =  
| no          =  
| stage =  
| stage       =  
| exp-item =  
| type        =  
| dna-item =  
| dna-item     =  
| found-in =   ''optional''
| ringtone    =  
| found-in2 =  
| found-in    = Power
| found-in3 =
| found-in2    = Speed
| found-in4=  
}}
}}
</nowiki></pre>
</nowiki></pre>


===name===
For stage, only enter the stage name on its own (i.e. Natural), and the template will add "Denjuu" after it automatically.  
The name of the Denjuu. If not specified, the infobox title would be the article name.
 
===japname===
The Japanese name in Katakana.
 
===romaji===
The Japanese name in Romaji.
 
===no===
The index number of the Denjuu in the [[Phone Book]].
 
===type===
The [[habitat type]] of the Denjuu.
 
===stage===
The [[evolutionary stage]] of the Denjuu. '''Do not include the word "Denjuu" at the back. e.g. <s>Natural Denjuu</s> Natural'''
 
===exp-item===
The [[Exp item]] of the Denjuu.
 
===dna-item===
The [[item]] which can be obtained by giving the Denjuu a [[Phone card]].
 
===found-in===
Where the Denjuu can be found in. It is optional to fill in this as it would automatically fill in with "Telefang 1".
 
For version-specific Denjuu, fill in <code>found-in2</code> and <code>found-in3</code> appropriately.


For Denjuu which appear in both Telefang 1 and 2, add in "Telefang 2" appropriately.
If the Denjuu is only found in Power, simply remove found-in2. If the Denjuu is only found in Speed, change found-in to Speed and remove found-in2.  


[[Category:Infoboxes|Denjuu T1]]
</noinclude>
</noinclude>

Latest revision as of 10:13, 3 September 2020

Denjuu
[[Image:T1-{{{no}}}-IS.gif]] {{{name}}}
{{{ja}}} / {{{romaji}}}
No. {{{no}}} Bootleg: {{{bootlegname}}}
[[File:T1-{{{no}}}.gif]]
Stage [[{{{stage}}} Denjuu]]
Type [[Image:{{{type}}}.gif]] [[{{{type}}}]]
Exp. Item  Flamethrower
DNA Item  Biolent 3
Ringtone [[File:T1-R-{{{ringtone}}}.ogg|noicon]]
Version [[File:{{{found-in}}}_icon.gif]]

Description[edit]

This is the infobox for Denjuu in Telefang 1.

To use this template, copy the text below into the top of an article and fill in each section:

{{Infobox Denjuu T1
| name         = 
| ja           = 
| romaji       = 
| bootlegname  = 
| no           = 
| stage        = 
| type         = 
| dna-item     = 
| ringtone     = 
| found-in     = Power
| found-in2    = Speed
}}

For stage, only enter the stage name on its own (i.e. Natural), and the template will add "Denjuu" after it automatically.

If the Denjuu is only found in Power, simply remove found-in2. If the Denjuu is only found in Speed, change found-in to Speed and remove found-in2.