Template:Character infobox: Difference between revisions

From Rhythm Heaven Wiki
Jump to navigation Jump to search
(Infobox updated using the portable infobox migration tool)
(This one also had issues i.e. on Stepswitchers page)
Line 1: Line 1:
<infobox>
{| class="roundy" style="float: right; padding: 2px; background: #D891C3; margin-left: 10px; {{roundy|10px}} margin-bottom: 10px; border: 2px solid #BC6FA6; width: 290px"
<data source="text"><label>text</label></data>
|- style="text-align:center"
<title source="name"><default>Note</default></title>
| class="roundy" style="background: #FCC0E7;" {{roundy|5px}} colspan="2" | {{#if: {{{text|}}}|<span style="color:#FFF">}}<big>'''{{{name|Note}}}'''</big>{{#if:{{{ensongname|Test}}}
<data source="ensongname"><label>ensongname</label><default>Test</default></data>
|<br><span lang="ja">'''{{{jname|おんぷちゃん}}}''' ''{{{rname|Onpu-chan}}}''</span> {{#if: {{{text|}}}|</span>}}|}}
<data source="jname"><label>jname</label><default>おんぷちゃん</default></data>
|- style="text-align:center;" style="background:#D891C3;
<data source="rname"><label>rname</label><default>Onpu-chan</default></data>
| class="roundy" {{roundy|2px}} style="background: #FFFFFF;" {{roundy|2px}} colspan="2" | {{{image}}}
<image source="image"/>
|- style="text-align:center"
<data source="gender"><label>'''Gender'''</label></data>
| class="roundy" style="background: #FFFFFF;" {{roundy|2px}} colspan="2" | <small>{{{caption}}}</small>
<data source="flow"><label>'''Flow'''</label><default>no</default></data>
|-
<data source="favorite game"><label>'''Favorite Game'''</label><default>no</default></data>
| class="roundybl" style="text-align:right; font-size:13px; {{roundy|2px}} background: #FCC0E7; padding-left: 6px; padding-right: 6px;" | '''Gender'''
<data source="likes"><label>'''Likes'''</label><default>no</default></data>
| class="roundybr" style="background:#FFFFFF; font-size:13px; {{roundy|2px}} padding-left: 6px; padding-right: 6px;" | {{{gender}}}
<data source="dislikes"><label>'''Dislikes'''</label><default>no</default></data>
|-
<data source="appearance"><label>'''Appearances'''</label></data>
{{#ifeq: {{{flow|no}}}|no||
<data source="envoice"><label>'''English Voice Actor'''</label><default>no</default></data>
{{!}} class="roundyleft" style="text-align:right; font-size:13px; {{roundy|2px}} background: #FCC0E7; padding-left: 6px; padding-right: 6px;" {{!}} '''Flow'''
<data source="jpvoice"><label>'''Japanese Voice Actor'''</label><default>no</default></data>
{{!}} class="roundyright" style="background:#FFFFFF; font-size:13px; {{roundy|2px}} padding-left: 6px; padding-right: 6px;" {{!}} {{{flow|100}}}
</infobox>
{{!}}-}}
<noinclude>
|-
== Usage & preview ==
{{#ifeq: {{{favorite game|no}}}|no||
Type in this:
{{!}} class="roundyleft" style="text-align:right; font-size:13px; {{roundy|2px}} background: #FCC0E7; padding-left: 6px; padding-right: 6px;" {{!}} '''Favorite Game'''
 
{{!}} class="roundyright" style="background:#FFFFFF; font-size:13px; {{roundy|2px}} padding-left: 6px; padding-right: 6px;" {{!}} {{{favorite game|Night Walk}}}
<pre>
{{!}}-}}
{{Character infobox
|-
|text=
{{#ifeq: {{{likes|no}}}|no||
|name=
{{!}} class="roundyleft" style="text-align:right; font-size:13px; {{roundy|2px}} background: #FCC0E7; padding-left: 6px; padding-right: 6px;" {{!}} '''Likes'''
|ensongname=
{{!}} class="roundyright" style="background:#FFFFFF; font-size:13px; {{roundy|2px}} padding-left: 6px; padding-right: 6px;" {{!}} {{{likes|Music}}}
|jname=
{{!}}-}}
|rname=
|-
|image=
{{#ifeq: {{{dislikes|no}}}|no||
|caption=
{{!}} class="roundyleft" style="text-align:right; font-size:13px; {{roundy|2px}} background: #FCC0E7; padding-left: 6px; padding-right: 6px;" {{!}} '''Dislikes'''
|gender=
{{!}} class="roundyright" style="background:#FFFFFF; font-size:13px; {{roundy|2px}} padding-left: 6px; padding-right: 6px;" {{!}} {{{dislikes|Perfect challenges}}}
|flow=
{{!}}-}}
|favorite game=
|-
|likes=
| class="roundyleft" style="text-align:right; font-size:13px; {{roundy|2px}} background: #FCC0E7; padding-left: 6px; padding-right: 6px;" | '''Appearances'''
|dislikes=
| class="roundyright" style="background:#FFFFFF; font-size:13px; {{roundy|2px}} padding-left: 6px; padding-right: 6px;" | {{{appearance}}}
|appearance=
|-
|envoice=
{{#ifeq: {{{envoice|no}}}|no||
|jpvoice=
{{!}} class="roundyleft" style="text-align:right; font-size:13px; {{roundy|2px}} background: #FCC0E7; padding-left: 6px; padding-right: 6px;" {{!}} '''English Voice Actor'''
}}
{{!}} class="roundyright" style="background:#FFFFFF; font-size:13px; {{roundy|2px}} padding-left: 6px; padding-right: 6px;" {{!}} {{{envoice|Clodhopper Pickens}}}
 
{{!}}-}}
</pre>
|-
 
{{#ifeq: {{{jpvoice|no}}}|no||
to see this:
{{!}} class="roundyleft" style="text-align:right; font-size:13px; {{roundy|2px}} background: #FCC0E7; padding-left: 6px; padding-right: 6px;" {{!}} '''Japanese Voice Actor'''
 
{{!}} class="roundyright" style="background:#FFFFFF; font-size:13px; {{roundy|2px}} padding-left: 6px; padding-right: 6px;" {{!}} {{{jpvoice|Clodhopper Pickens}}}
{{Character infobox
{{!}}-}}
|text=This is a test
|}
|name=This is a test
<noinclude>[[Category:infoboxes]]</noinclude><noinclude>
|ensongname=This is a test
<br clear="all">
|jname=This is a test
----
|rname=This is a test
:'''For the mobile version, see [[/Mobile|{{FULLPAGENAME}}/Mobile]]
|image=This is a test
{{/doc}}
|caption=This is a test
[[Category: Templates|{{PAGENAME}}]]
|gender=This is a test
|flow=This is a test
|favorite game=This is a test
|likes=This is a test
|dislikes=This is a test
|appearance=This is a test
|envoice=This is a test
|jpvoice=This is a test
}}
 
 
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
</noinclude>
</noinclude>

Revision as of 20:09, 7 September 2019

Note
おんぷちゃん Onpu-chan
{{{image}}}
{{{caption}}}
Gender {{{gender}}}
Appearances {{{appearance}}}



For the mobile version, see Template:Character infobox/Mobile

Template:Character infobox/doc