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
(A prototype template, although subject to many revisions...)
Line 1: Line 1:
<includeonly>{| class="numberinfobox"
{| align="right" style="background: #422610; border: 1px solid #1E0E03; width: 320px; border-spacing: 1px; color: #000000;"
| rowspan="2" style="vertical-align:middle;" width="14.2857%" | ←
|-  
{{#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|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}#{{padleft:{{#expr:{{{no}}}-1}}|3|0}} [[{{switch-T1|{{padleft:{{#expr:{{{no}}}-1}}|3|0}}}}]]}}
{| style="background: #987154; border: 1px solid #2F1908; width: 100%;"
| width="14.2857%" | '''{{{name|{{PAGENAME}}}}}'''
{{#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|{{!}} 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;" width="14.2857%" | →
|-
|-
{{#ifexpr:{{{no}}} < 3|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}[[Image:T1-{{padleft:{{#expr:{{{no}}}-2}}|3|0}}-I.gif]]}}
| width="67%" style="border: 2px solid #2F1908; background: #E1D5AE;" | '''{{{name}}}''' <br /> {{{japname}}} / {{{romaji}}}
{{#ifexpr:{{{no}}} < 2|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}[[Image:T1-{{padleft:{{#expr:{{{no}}}-1}}|3|0}}-I.gif]]}}
| width="33%" style="font-size: 90%;" | Bootleg: {{{bootlegname}}}
| width="14.2857%" | [[Image:T1-{{{no}}}-I.gif]]
|}
{{#ifexpr:{{{no}}} > 173|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}[[Image:T1-{{padleft:{{#expr:{{{no}}}+1}}|3|0}}-I.gif]]}}
|-
{{#ifexpr:{{{no}}} > 174|{{!}} width="14.2857%" {{!}}|{{!}} width="14.2857%" {{!}}[[Image:T1-{{padleft:{{#expr:{{{no}}}+2}}|3|0}}-I.gif]]}}
|
|}</includeonly>
{| style="background: #E1D5AE; border: 1px solid #2F1908; width: 100%;"
{| width="250px" class="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;" | [[File:T1-{{{number}}}.gif]]
|-
| style="text-align: center;" | [[:File:T1-{{{number}}}-O.gif|Official artwork]]
|}
|-
|
{| style="background: #E1D5AE; border: 1px solid #2F1908; width: 100%;"
|-
|-
| colspan="2" class="infoheading" | {{#if:{{{name|}}}|'''{{{name|}}}'''|'''{{PAGENAME}}'''}}<span style="font-size:14px !important;">{{#if:{{{japname|}}}|<br />'''{{{japname}}}'''{{#if:{{{romaji|}}}| ''{{lc:{{{romaji}}}}}''}}}}</span><span style="font-size:12px; color:#666666;">{{#if:{{{bootlegname|}}}|<br /><span class="moreinfo">[[Pokémon Diamond and Jade|Bootleg]]</span>: {{{bootlegname|}}}}}</span>
! width="50%" style="font-weight: bold; text-align: left; background: #987154;" | [[Evolutionary stage]]
{{#if:{{{no|}}}| {{!}}-
| width="50%" | [[{{{stage}}} Denjuu]]
{{!}} colspan="2" class="imagebox" {{!}} [[Image:T1-{{{no}}}.gif]]}}
|-
|-
! No.
! width="50%" style="font-weight: bold; text-align: left; background: #987154;" | [[Habitat type|Type]]
| {{{no|}}}
| width="50%" | [[{{{type}}}]]
{{#if: {{{type|}}} | {{!}}-
|}
! [[Habitat type|Type]]
|-
{{!}} {{mt|{{{type|}}}}} }}
|
{{#if: {{{stage|}}} | {{!}}-
{| style="background: #E1D5AE; border: 1px solid #2F1908; width: 100%;"
! [[Evolutionary stage]]
|- style="font-weight: bold; text-align: center; background: #987154;"
{{!}} [[{{{stage|}}} Denjuu]] }}
! width="33%" | EXP Item
{{#if: {{{exp-item|}}} | {{!}}-
! width="33%" | DNA Item
! [[Exp. item]]
! width="33%" | Melody
{{!}} {{i|{{{exp-item}}}}} }}
|-
{{#if:{{{dna-item|}}}| {{!}}-
| {{{exp-item}}}
! [[DNA item]]
| {{#switch: {{{dna-item}}} | none = None | None = None | [[{{{dna-item}}}]]}}
{{!}} {{#ifeq:{{{dna-item}}}|None|None|{{#ifeq:{{{dna-item}}}|-|None|{{i|{{{dna-item}}}}}}}}} }}
| {{{melody}}}
{{#if: {{{melody|}}} | {{!}}-
|}
! [[D-Melo|Melody]]
{{!}} {{{melody}}} }}
{{#if:{{{found-in|}}}| {{!}}-
! [[Version]] found in
{{!}} {{v|{{{found-in|}}}|{{{found-in2|}}}}}  }}
|-
|-
{{#ifeq:{{{telefang2|}}}|true|
|
{{!}} colspan="2" class="colspantd" {{!}} <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>}}
{| style="background: #E1D5AE; border: 1px solid #2F1908; width: 100%;"
! width="50%" style="font-weight: bold; text-align: left; background: #987154;" | Found in
| width="50%" | {{{found-in}}}
|}
|}
<includeonly><!--
|}<!-- E1D5AE 987154 422610 2F1908 1E0E03 -->
//-->[[Category:Denjuu in Telefang 1]]<!--
//-->{{#if:{{{stage|}}}|[[Category:{{{stage}}} Denjuu]]}}<!--
//-->{{#if:{{{type|}}}|[[Category:{{{type}}}-type Denjuu]]}}<!--
//-->{{#if:{{{found-in|}}}|<!--
////-->{{#ifeq:{{{found-in}}}|Power|<!--
//////-->{{#ifeq:{{{found-in2}}}|Speed|<!--
////////-->[[Category:Denjuu in both Power and Speed versions of Telefang 1]]|<!-- both found-in/2 are Power/Speed
//////-->[[Category:Power version-exclusive Denjuu in Telefang 1]]}}|<!--          found-in2 is not Speed endifspeed
////-->{{#ifeq:{{{found-in}}}|Speed|<!--
//////-->[[Category:Speed version-exclusive Denjuu in Telefang 1]]}}}}|<!--        found-in is speed endifspeed2power
////-->[[Category:Denjuu in both Power and Speed versions of Telefang 1]]}}<!--   else-iffoundin
//--></includeonly><noinclude>
==Documentation==
This is an infobox, which is a box containing important figures and general stats of the Denjuu, floated to the right of the article.
 
==Usage==
Put the following text at the top of the Denjuu article. After filling them in, remove those that you left blank.
<pre><nowiki>
{{Infobox Denjuu T1
| name      =
| japname  =
| romaji    =
| no        =
| type      =
| stage    =
| exp-item  =
| dna-item  =
| melody    =
| found-in  =   
| found-in2 =
| telefang2 =
}}
</nowiki></pre>
 
===name===
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]].
 
===melody===
The Denjuu's personal ringtone (called D-melo or just melodies in the game). They seem to carry over betwen evolutions.
 
===found-in===
Only put Power and/or Speed in found-in and found-in2, respectively. Do not follow the previous rule, of having to put Telefang 1 and/or Telefang 2 in this parameter.
 
Instead, for Denjuu recurring in Telefang 2 as well, use the telefang2 parameter instead.
 
===telefang2===
If this Denjuu appears in Telefang 2 as well, put ''true'' for this value.
 
[[Category:Infoboxes|Denjuu T1]][[Category:Telefang 1 templates|{{PAGENAME}}]]
</noinclude>

Revision as of 22:58, 16 February 2011

{{{name}}}
{{{japname}}} / {{{romaji}}}
Bootleg: {{{bootlegname}}}
[[File:T1-{{{number}}}.gif]]
[[:File:T1-{{{number}}}-O.gif|Official artwork]]
Evolutionary stage [[{{{stage}}} Denjuu]]
Type [[{{{type}}}]]
EXP Item DNA Item Melody
{{{exp-item}}} [[{{{dna-item}}}]] {{{melody}}}
Found in {{{found-in}}}