Difference between revisions of "Template:Infoboxtest"

From Wiki48
Jump to: navigation, search
(reverting)
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" style="float: right; clear: right; width:20em; margin-top: 0.5em; text-align:left" align=right width=100% class="toccolours itwiki_template_toc"
+
<noinclude>The following fields are required:<br/>
 +
name<br/>
 +
pic<br/>
 +
Birth Info: birthdate, age<br/>
 +
Sizes: height<br/>
 +
 
 +
In general, if a field is not noteworthy (e.g. nationality for Japanese members of a Japanese group) it can be omitted.
 +
 
 +
TODO: document light stick fields, document country- and group-specific conventions as needed.
 +
 
 +
</noinclude>{| class="infobox" style="float: right; clear: right; width:20em; margin-top: 0.5em; text-align:left" align=right width=100% class="toccolours itwiki_template_toc"
 
|- style="width:100%; background:#{{{colour}}}"  
 
|- style="width:100%; background:#{{{colour}}}"  
 
|colspan="2"|
 
|colspan="2"|
Line 5: Line 15:
 
!style="text-align: center; font-size: larger;" colspan="2" | '''{{{name}}}'''
 
!style="text-align: center; font-size: larger;" colspan="2" | '''{{{name}}}'''
 
|colspan="2"|
 
|colspan="2"|
|- style="width:100%"
 
!style="text-align: center; font-size: larger;" colspan="2" | '''{{{nativename}}}'''
 
|colspan="2"|
 
|- style="width:100%"
 
!style="text-align: center;" colspan="2" | '''{{{nickname}}}'''
 
 
|- style="width:100%; background:#{{{colour}}}"  
 
|- style="width:100%; background:#{{{colour}}}"  
 
|colspan="2"|
 
|colspan="2"|
 
|- style="width:100%"
 
|- style="width:100%"
| style="padding: 1em 0; text-align: center;" colspan="2"| {{{pic}}}
+
| style="padding: 1em 0; text-align: center;" colspan="2"| {{{pic}}} {{#if: <includeonly>{{{kanji|}}}{{{kana|}}}{{{romaji|}}}{{{hanzi|}}}{{{pinyin|}}}{{{nickname|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
 +
{{!}}- style="width:100%; background:#{{{colour}}}"
 +
{{!}}colspan="2"{{!}}
 +
{{!}}- style="width:100%"
 +
!style="text-align: center;" colspan="2" {{!}} '''Name'''
 +
{{!}}- style="width:100%; background:#{{{colour}}}"
 +
{{!}}colspan="2"{{!}}
 +
{{!}}- style="vertical-align: top; text-align: left;" }} {{#if: <includeonly>{{{kanji|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
 +
{{!}} style="width:50%"{{!}}'''Kanji'''
 +
{{!}} {{{kanji}}}
 +
}} {{#if: <includeonly>{{{hanzi|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
 +
{{!}}- style="vertical-align: top; text-align: left;"
 +
{{!}} style="width:50%"{{!}}'''Hanzi'''
 +
{{!}} {{{hanzi}}}
 +
}} {{#if: <includeonly>{{{kana|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
 +
{{!}}- style="vertical-align: top; text-align: left;"
 +
{{!}} style="width:50%"{{!}}'''Kana'''
 +
{{!}} {{{kana}}}
 +
}} {{#if: <includeonly>{{{pinyin|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
 +
{{!}}- style="vertical-align: top; text-align: left;"
 +
{{!}} style="width:50%"{{!}}'''Pinyin'''
 +
{{!}} {{{pinyin}}}
 +
}} {{#if: <includeonly>{{{romaji|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
 +
{{!}}- style="vertical-align: top; text-align: left;"
 +
{{!}} style="width:50%"{{!}}'''Romaji'''
 +
{{!}} {{{romaji}}}
 +
}} {{#if: <includeonly>{{{nickname|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
 +
{{!}}- style="vertical-align: top; text-align: left;"
 +
{{!}} style="width:50%"{{!}}'''Nickname'''
 +
{{!}} {{{nickname}}}
 +
}}
 
|- style="width:100%; background:#{{{colour}}}"  
 
|- style="width:100%; background:#{{{colour}}}"  
 
|colspan="2"|
 
|colspan="2"|
Line 22: Line 57:
 
|- style="vertical-align: top; text-align: left;"
 
|- style="vertical-align: top; text-align: left;"
 
|style="width:50%"|'''Birthdate'''
 
|style="width:50%"|'''Birthdate'''
| {{{birthdate}}}
+
| {{{birthdate}}} {{#if: <includeonly>{{{birthplace|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
|- style="vertical-align: top; text-align: left;"
+
{{!}}- style="vertical-align: top; text-align: left;"
|style="width:50%"|'''Birthplace'''
+
{{!}} style="width:50%"{{!}}'''Birthplace'''
| {{{birthplace}}}
+
{{!}} {{{birthplace}}}
|- style="vertical-align: top; text-align: left;"
+
}} {{#if: <includeonly>{{{hometown|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
|style="width:50%"|'''Blood type'''
+
{{!}}- style="vertical-align: top; text-align: left;"
| {{{blood}}}
+
{{!}} style="width:50%"{{!}}'''Hometown'''
 +
{{!}} {{{hometown}}}
 +
}} {{#if: <includeonly>{{{nationality|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
 +
{{!}}- style="vertical-align: top; text-align: left;"
 +
{{!}} style="width:50%"{{!}}'''Nationality'''
 +
{{!}} {{{nationality}}}
 +
}} {{#if: <includeonly>{{{blood|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
 +
{{!}}- style="vertical-align: top; text-align: left;"
 +
{{!}} style="width:50%"{{!}}'''Blood type'''
 +
{{!}} {{{blood}}}
 +
}}
 
|- style="vertical-align: top; text-align: left;"
 
|- style="vertical-align: top; text-align: left;"
 
|style="width:50%"|'''Current Age'''
 
|style="width:50%"|'''Current Age'''
| {{{age}}}
+
| {{{age}}}  
 
|- style="width:50%; background:#{{{colour}}}"  
 
|- style="width:50%; background:#{{{colour}}}"  
 
|colspan="2"|
 
|colspan="2"|
Line 40: Line 85:
 
|- style="vertical-align: top; text-align: left;"
 
|- style="vertical-align: top; text-align: left;"
 
|style="width:50%"|'''Height'''
 
|style="width:50%"|'''Height'''
| {{{height}}}
+
| {{{height}}} {{#if: <includeonly>{{#ifeq: {{{B}}} | ** |  | {{{B|}}} }}</includeonly><noinclude>True</noinclude> | &nbsp;
|- style="vertical-align: top; text-align: left;"
+
{{!}}- style="vertical-align: top; text-align: left;"
|style="width:50%"|'''B'''
+
{{!}} style="width:50%"{{!}}'''B'''
| {{{B}}}
+
{{!}} {{{B}}}
|- style="vertical-align: top; text-align: left;"
+
}}{{#if: <includeonly>{{#ifeq: {{{W}}} | ** |  | {{{W|}}} }}</includeonly><noinclude>True</noinclude> | &nbsp;
|style="width:50%"|'''W'''
+
{{!}}- style="vertical-align: top; text-align: left;"
| {{{W}}}
+
{{!}} style="width:50%"{{!}}'''W'''
|- style="vertical-align: top; text-align: left;"
+
{{!}} {{{W}}}
|style="width:50%"|'''H'''
+
}}{{#if: <includeonly>{{#ifeq: {{{H}}} | ** |  | {{{H|}}} }}</includeonly><noinclude>True</noinclude> | &nbsp;
| {{{H}}}
+
{{!}}- style="vertical-align: top; text-align: left;"
|- style="width:50%; background:#{{{colour}}}"  
+
{{!}} style="width:50%"{{!}}'''H'''
|colspan="2"|
+
{{!}} {{{H}}}
|- style="width:100%"
+
}} {{#if: <includeonly>{{{Agency|}}}{{{agency|}}}{{{Blog|}}}{{{blog|}}}{{{sns|}}}{{{social|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
!style="text-align: center;" colspan="2" | '''Professional Info'''
+
{{!}}- style="width:50%; background:#{{{colour}}}"  
|- style="width:100%; background:#{{{colour}}}"  
+
{{!}}colspan="2"{{!}}
|colspan="2"|
+
{{!}}- style="width:100%"
|- style="vertical-align: top; text-align: left;"
+
!style="text-align: center;" colspan="2" {{!}} '''Professional Info'''
|style="width:50%"|'''Agency'''
+
{{!}}- style="width:100%; background:#{{{colour}}}"  
| {{{Agency}}}
+
{{!}}colspan="2"{{!}}
|- style="vertical-align: top; text-align: left;"
+
{{!}}- style="vertical-align: top; text-align: left;" }} {{#if: <includeonly>{{{Agency|}}}{{{agency|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
|style="width:50%"|'''Social Networks'''
+
{{!}}style="width:50%"{{!}}'''Agency'''
| {{{Blog}}}
+
{{!}} <includeonly>{{{Agency|}}}{{{agency|}}}</includeonly><noinclude>{{{agency}}}</noinclude>
|- style="width:50%; background:#{{{colour}}}"  
+
}} {{#if: <includeonly>{{{Blog|}}}{{{blog|}}}{{{sns|}}}{{{social|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
|colspan="2"|
+
{{!}}- style="vertical-align: top; text-align: left;"
|- style="width:100%"
+
{{!}}style="width:50%"{{!}}'''Social Networks'''
!style="text-align: center;" colspan="2" | '''Idol Career Info'''
+
{{!}} <includeonly>{{{Blog|}}}{{{blog|}}}{{{sns|}}}{{{social|}}}</includeonly><noinclude>{{{social}}}</noinclude>
|- style="width:100%; background:#{{{colour}}}"  
+
}} {{#if: <includeonly>{{{group|}}}{{{Team|}}}{{{formergroup|}}}{{{formerteam|}}}{{{debuted|}}}{{{graduated|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
|colspan="2"|
+
{{!}}- style="width:50%; background:#{{{colour}}}"  
|- style="vertical-align: top; text-align: left;"
+
{{!}}colspan="2"{{!}}
|style="width:50%"|'''Group'''
+
{{!}}- style="width:100%"
| {{{group}}}
+
!style="text-align: center;" colspan="2" {{!}} '''Idol Career Info'''
|- style="vertical-align: top; text-align: left;"
+
{{!}}- style="width:100%; background:#{{{colour}}}"  
|style="width:50%"|'''Team'''
+
{{!}}colspan="2"{{!}}
| {{{Team}}}
+
{{!}}- style="vertical-align: top; text-align: left;" }} {{#if: <includeonly>{{{group|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
|- style="vertical-align: top; text-align: left;"
+
{{!}}style="width:50%"{{!}}'''Group'''
|style="width:50%"|'''Debuted'''
+
{{!}} {{{group}}}
| {{{debuted}}}
+
}} {{#if: <includeonly>{{{Team|}}}{{{team|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
 +
{{!}}- style="vertical-align: top; text-align: left;"
 +
{{!}}style="width:50%"{{!}}'''Team'''
 +
{{!}} <includeonly>{{{Team|}}}{{{team|}}}</includeonly><noinclude>{{{team}}}</noinclude>
 +
}} {{#if: <includeonly>{{{formergroup|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
 +
{{!}}- style="vertical-align: top; text-align: left;"
 +
{{!}}style="width:50%"{{!}}'''Former Group'''
 +
{{!}} {{{formergroup}}}
 +
}} {{#if: <includeonly>{{{formerteam|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
 +
{{!}}- style="vertical-align: top; text-align: left;"
 +
{{!}}style="width:50%"{{!}}'''Former Team'''
 +
{{!}} {{{formerteam}}}
 +
}} {{#if: <includeonly>{{{debuted|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
 +
{{!}}- style="vertical-align: top; text-align: left;"
 +
{{!}}style="width:50%"{{!}}'''Debuted'''
 +
{{!}} {{{debuted}}}
 +
}} {{#if: <includeonly>{{{graduated|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
 +
{{!}}- style="vertical-align: top; text-align: left;"
 +
{{!}}style="width:50%"{{!}}'''Graduated'''
 +
{{!}} {{{graduated}}}
 +
}} {{#if: <includeonly>{{{generation|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
 +
{{!}}- style="vertical-align: top; text-align: left;"
 +
{{!}}style="width:50%"{{!}}'''Generation'''
 +
{{!}} {{{generation}}}
 +
}} {{#if: <includeonly>{{{LScolor1|}}}{{{LScolor2|}}}{{{LScolor3|}}}{{{LScolor4|}}}</includeonly><noinclude>True</noinclude> | &nbsp;
 +
{{!}}- style="vertical-align: top; text-align: center;"
 +
{{!}}- style="width:100%; background:#{{{colour}}}"
 +
{{!}}colspan="2"{{!}}
 +
{{!}}- style="width:100%"
 +
!style="text-align: center;" colspan="2" {{!}} '''Lightstick Colors'''
 +
{{!}}- style="width:100%; background:#{{{colour}}}"
 +
{{!}}colspan="2"{{!}}
 +
{{!}}-
 +
! style="background: {{{LScolor1code}}}; text-align:center" width=50% {{!}} <span style="color:{{{LScolor1textcolor}}};">{{{LScolor1}}}</span>
 +
! style="background: {{{LScolor2code}}}; text-align:center" width=50% {{!}} <span style="color:{{{LScolor2textcolor}}};">{{{LScolor2}}}</span>
 +
}}  {{#if: <includeonly>{{{LScolor3|}}}{{{LScolor4|}}}</includeonly><noinclude>True</noinclude> |&nbsp;
 +
{{!}}- style="width:100%;"
 +
{{!}}colspan="2"{{!}}
 +
{{!}}-
 +
! style="background: {{{LScolor3code}}}; text-align:center" width=50% {{!}} <span style="color:{{{LScolor3textcolor}}};">{{{LScolor3}}}</span>
 +
! style="background: {{{LScolor4code}}}; text-align:center" width=50% {{!}} <span style="color:{{{LScolor4textcolor}}};">{{{LScolor4}}} &nbsp;</span>
 +
{{!}}-
 +
}}
 
|- style="vertical-align: top; text-align: center;"
 
|- style="vertical-align: top; text-align: center;"
 
|- style="width:100%; background:#{{{colour}}}"
 
|- style="width:100%; background:#{{{colour}}}"
 
|colspan="2"|
 
|colspan="2"|
 
|}
 
|}

Latest revision as of 13:23, 3 October 2022

The following fields are required:
name
pic
Birth Info: birthdate, age
Sizes: height

In general, if a field is not noteworthy (e.g. nationality for Japanese members of a Japanese group) it can be omitted.

TODO: document light stick fields, document country- and group-specific conventions as needed.

{{{name}}}
{{{pic}}}  
Name
Kanji {{{kanji}}}  
Hanzi {{{hanzi}}}  
Kana {{{kana}}}  
Pinyin {{{pinyin}}}  
Romaji {{{romaji}}}  
Nickname {{{nickname}}}
Birth Info
Birthdate {{{birthdate}}}  
Birthplace {{{birthplace}}}  
Hometown {{{hometown}}}  
Nationality {{{nationality}}}  
Blood type {{{blood}}}
Current Age {{{age}}}
Sizes
Height {{{height}}}  
B {{{B}}} 
W {{{W}}} 
H {{{H}}}  
Professional Info
Agency {{{agency}}}  
Social Networks {{{social}}}  
Idol Career Info
Group {{{group}}}  
Team {{{team}}}  
Former Group {{{formergroup}}}  
Former Team {{{formerteam}}}  
Debuted {{{debuted}}}  
Graduated {{{graduated}}}  
Generation {{{generation}}}  
Lightstick Colors
{{{LScolor1}}} {{{LScolor2}}}  
{{{LScolor3}}} {{{LScolor4}}}