Difference between revisions of "Template:Girls' Frontline profile"

From Moegirlpedia
Jump to: navigation, search
m
m
Line 1: Line 1:
<noinclude>{{Documentation}}[[Category:Galcharainfo]]{{Girls' Frontline profile|Test1=Test2}}</noinclude>
+
<noinclude>{{Documentation}}[[Category:Galcharainfo]]{{Girls' Frontline profile|Test1=Test2}}</noinclude><includeonly>[[Category:Characters]]<div itemscope itemtype="http://data-vocabulary.org/Person" style="width: 260px; max-width: 100%; float:right;" >{{Infobox
<includeonly>[[Category:Characters]]<div itemscope itemtype="http://data-vocabulary.org/Person" class="infotemplatebox">
+
|bg-color          = #FFF
{|border=0 cellpadding="0" cellspacing="0" width="100%"
+
|title-color      = #C0C0C0
| colspan="2" align="center" style="background-color:#C0C0C0; color:#FFFFFF; font-size:100%; padding:1em;" | {{{Name|{{SUBPAGENAME}}}}}
+
|left-column-color = #75f3fd
|-
+
|text-color        = #FFFFFF
| colspan="2" align="center" |{{#if:{{{image|}}}|[[Image:{{{image}}}|250px]]|!?<br />What the...<br />It seems that she doesn't have a head……[[Category:Noillust]]}}{{#if:{{{Caption|}}}|<br /><span style="text-align:center;">{{{Caption}}}</span>}}
+
|font-size        = 100%
|-
+
|width            = 100%
| colspan=2 align="center" bgcolor="#C0C0C0" |'''Basic info'''
+
|Title  = <span itemprop="name">{{{Name|{{SUBPAGENAME}}}}}</span>
|-
+
|image  = {{{image|}}}
! width=70px |Original name
+
|image-lostmessage = !?<br />What the...<br />It seems that she doesn't have a head……[[Category:Noillust]]
{{!}} align="center" {{!}} <span itemprop="name">{{{Original name|}}}</span>
+
|size    = 250px
|-
+
|caption = <span style="text-align:center;">{{{Caption}}}</span>
{{#if:{{{Nickname(s)|}}}|
+
|tabs    = {{{tabs|}}}
!{{#if:{{{Nickname(s)|}}}|Nickname(s)}}
+
|Row x1          = '''Basic info'''
{{!}} align="center" {{!}} <span itemprop="nickname">{{{Nickname(s)|}}}</span>}}
+
|Row x1 style    = bgcolor="#C0C0C0"
|-
+
|Row titlestyle  = style="font-weight: bold;" width = 70px
{{#if:{{{Moe points|}}}|
+
|Row 2 title    = Original name
!{{#if:{{{Moe points|}}}|Moe points}}
+
|Row 2 info      = <span itemprop="name">{{{Original name|}}}</span>
{{!}} align="center" {{!}} {{{Moe points|}}}}}
+
|Row 3 title    = {{#if:{{{Nickname(s)|}}}|Nickname(s)}}
|-
+
|Row 3 info      = {{{Nickname(s)|}}}
{{#if:{{{Hair color|}}}|
+
|Row 4 title    = {{#if:{{{Moe points|}}}|Moe points}}
!{{#if:{{{Hair color|}}}|Hair color}}
+
|Row 4 info      = {{{Moe points|}}}
{{!}} align="center" {{!}} {{Hair_color|{{{Hair color}}}}} }}
+
|Row 5 title    = {{#if:{{{Hair color|}}}|Hair color}}
|-
+
|Row 5 info      = {{{Hair color|}}}  
{{#if:{{{Multiple hair colors|}}}|  
+
|Row 6 title    = {{#if:{{{Multiple hair colors|}}}|Hair color}}
!{{#if:{{{Multiple hair colors|}}}|Hair color}}
+
|Row 6 info      = {{{Multiple hair colors|}}}
{{!}} align="center" {{!}} {{{Multiple hair colors|}}} }}
+
|Row 7 title    = {{#if:{{{Eye color|}}}|Eye color}}
|-
+
|Row 7 info      = {{{Eye color|}}}
{{#if:{{{Eye color|}}}|
+
|Row 8 title    = {{#if:{{{Multiple eye colors|}}}|Eye color}}
!{{#if:{{{Eye color|}}}|Eye color}}
+
|Row 8 info      = {{{Multiple eye colors|}}}
{{!}} align="center" {{!}}  {{Eye_color|{{{Eye color}}}}} }}
+
|Row 9 title    = {{#if:{{{CV|}}}|CV}}
|-
+
|Row 9 info      = {{#if:{{{CV|}}}| [[{{{CV|}}}]] [[Category:{{{CV|}}}]] }}
{{#if:{{{Multiple eye colors|}}}|
+
|Row 10 title    = {{{Multiple CVs|}}}
!{{#if:{{{Multiple eye colors|}}}|Eye color}}
+
|Row 10 info    = {{{Multiple CVs|}}}
{{!}} align="center" {{!}}  {{{Multiple eye colors|}}} }}
+
|Row 11 title    = Type
|-
+
|Row 11 info    = {{#switch:{{{Type|}}}|Handgun=Handgun[[Category:Girls' Frontline:Handguns]]|Submachinegun=Submachinegun[[Category:Girls' Frontline:Submachineguns]]|Rifle=Rifle[[Category:Girls' Frontline:Rifles]]|Assault rifle=Assault rifle[[Category:Girls' Frontline:Assault rifles]]|Machine gun=Machine gun[[Category:Girls' Frontline:Machine guns]]|Shotgun=Shotgun[[Category:Girls' Frontline:Shotguns]]|#default={{{Type|}}}}}
{{#if:{{{CV|}}}|
+
|Row 12 title    = {{#if:{{{Rarity|}}}|Rarity}}
!{{#if:{{{CV|}}}|CV}}
+
|Row 12 info    = {{{Rarity|}}}
{{!}} align="center" {{!}}  [[{{{CV|}}}]] [[Category:{{{CV|}}}]]}}
+
|Row 13 title    = {{#if:{{{Part of|}}}|Part of}}
|-
+
|Row 13 info    = {{{Part of|}}}
{{#if:{{{Multiple CVs|}}}|
+
|Row 14 title    = {{#if:{{{Area of activity|}}}|Area of activity}}
!{{#if:{{{Multiple CVs|}}}|CV}}
+
|Row 14 info    = {{{Area of activity|}}}
{{!}} align="center" {{!}}  {{{Multiple CVs|}}} }}
+
|Row 15 title    = {{#if:{{{Country of origin|}}}|Country of origin}}
|-
+
|Row 15 info    = {{{Country of origin|}}}
!Type
+
|Row 16 title    = {{#if:{{{Developed by|}}}|Developed by}}
{{!}} align="center" {{!}} {{#switch:{{{Type|}}}|Handgun=Handgun[[Category:Girls' Frontline:Handguns]]|Submachinegun=Submachinegun[[Category:Girls' Frontline:Submachineguns]]|Rifle=Rifle[[Category:Girls' Frontline:Rifles]]|Assault rifle=Assault rifle[[Category:Girls' Frontline:Assault rifles]]|Machine gun=Machine gun[[Category:Girls' Frontline:Machine guns]]|Shotgun=Shotgun[[Category:Girls' Frontline:Shotguns]]|#default={{{Type|}}}}}
+
|Row 16 info    = {{{Developed by|}}}
|-
+
|Row 17 title    = {{#if:{{{Manufactured by|}}}|Manufactured by}}
{{#if:{{{Rarity|}}}|
+
|Row 17 info    = {{{Manufactured by|}}}
!{{#if:{{{Rarity|}}}|Rarity}}
+
|Row 18 title    = {{#if:{{{Developed|}}}|Developed}}
{{!}} align="center" {{!}}  {{{Rarity|}}} }}
+
|Row 18 info    = {{{Developed|}}}
|-
+
|Row 19 title    = {{#if:{{{In service|}}}|In service}}
{{#if:{{{Part of|}}}|
+
|Row 19 info    = {{{In service|}}}
!{{#if:{{{Part of|}}}|Part of}}
+
|Row 20 title    = {{#if:{{{Status|}}}|Status}}
{{!}} align="center" {{!}}  {{{Part of|}}} }}
+
|Row 20 info    = {{{Status|}}}  
|-
+
|Row h1 title      = {{#if:{{{Related person(s)|}}}|'''Relative(s) or related person(s)'''}}
{{#if:{{{Area of activity|}}}|
+
|under-column-color = #E0FFFF
!{{#if:{{{Area of activity|}}}|Area of activity}}
+
|Row h1 info        = {{{Related person(s)|}}}
{{!}} align="center" {{!}}  {{{Area of activity|}}} }}
+
}}</div></includeonly>
|-
 
{{#if:{{{Country of origin|}}}|
 
!{{#if:{{{Country of origin|}}}|Country of origin}}
 
{{!}} align="center" {{!}}  {{{Country of origin|}}} }}
 
|-
 
{{#if:{{{Developed by|}}}|
 
!{{#if:{{{Developed by|}}}|Developed by}}
 
{{!}} align="center" {{!}}  {{{Developed by|}}} }}
 
|-
 
{{#if:{{{Manufactured by|}}}|
 
!{{#if:{{{Manufactured by|}}}|Manufactured by}}
 
{{!}} align="center" {{!}}  {{{Manufactured by|}}} }}
 
|-
 
{{#if:{{{Developed|}}}|
 
!{{#if:{{{Developed|}}}|Developed}}
 
{{!}} align="center" {{!}}  {{{Developed|}}} }}
 
|-
 
{{#if:{{{In service|}}}|
 
!{{#if:{{{In service|}}}|In service}}
 
{{!}} align="center" {{!}}  {{{In service|}}} }}
 
|-
 
{{#if:{{{Status|}}}|
 
!{{#if:{{{Status|}}}|Status}}
 
{{!}} align="center" {{!}}  {{{Status|}}} }}<!-- Note that there should not be a table separator "|-" here. It should be below.
 
-->{{#forargs:
 
| key
 
| val
 
|<nowiki/>
 
{{#switch: {{#var:key}}
 
|Name
 
|image
 
|Caption
 
|Original name
 
|Nickname(s)
 
|Hair color
 
|Multiple hair colors
 
|Eye color
 
|Multiple eye colors
 
|Moe points
 
|CV
 
|Multiple CVs
 
|Type
 
|Rarity
 
|Part of
 
|Area of activity
 
|Country of origin
 
|Developed by
 
|Manufactured by
 
|Developed
 
|Manufactured
 
|Status
 
|Related person(s)
 
|More pictures=<!-- Blocks items that already exist -->
 
|#default =
 
  {{#if: {{#var:val}}
 
  |{{!}}-
 
    ! {{#var: key}}
 
    {{!}}  style="text-align:center" {{!}} {{#var: val}}
 
  |<!-- Doesn't show if there's no content in the new item -->}}
 
}}<!-- end switch -->
 
}}<!-- end forargs -->
 
|-
 
{{ #if: {{{Related person(s)|}}} |
 
! colspan="2"  bgcolor="#E0FFFF" {{!}}  '''Relative(s) or related person(s)'''}}
 
|-
 
{{ #if: {{{Related person(s)|}}} |
 
!colspan="2" {{!}} {{{Related person(s)|}}}
 
}}
 
|-
 
| colspan=2 align="center" bgcolor="#CCCCFF" style="font-size: 150%;"| {{#if:{{{More pictures|}}} | [[:萌娘共享:Category:{{{More pictures|}}}|'''{{{More pictures|}}}'s more pictures''']] | [[:萌娘共享:Category:{{PAGENAME}}|'''Related pictures''']]}}
 
|}</div>
 
</includeonly>
 

Revision as of 16:39, 24 March 2018

Template-info.svg Template Documentation  [Create] [Refresh]
Girls' Frontline profile
!?
What the...
It seems that she doesn't have a head……
Basic info
Original name
Type