Difference between revisions of "Template:Infobox country"

From Moegirlpedia
Jump to: navigation, search
m
m
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<div style="float: right; width: 260px; font-size: 90%; margin: 1em 0 1em 1em; border: 1px #999999 solid; border-collapse: collapse; clear: right; background-color:#FDFDFD; " cellpadding="0" cellspacing="0"; background-color: #FFFFFF>
 
<div style="float: right; width: 260px; font-size: 90%; margin: 1em 0 1em 1em; border: 1px #999999 solid; border-collapse: collapse; clear: right; background-color:#FDFDFD; " cellpadding="0" cellspacing="0"; background-color: #FFFFFF>
 
{|border=0 cellpadding="0" cellspacing="0" width="100%"
 
{|border=0 cellpadding="0" cellspacing="0" width="100%"
| colspan="2" align="center" style="background-color:#26ca9b; color:#FFFFFF; font-size:100%; padding:1em; width:100%" | '''{{{Name|{{PAGENAME}}}}}'''<br/><small>''{{{Native name|{{SUBPAGENAME}}}}}''</small>
+
| colspan="2" align="center" style="background-color:{{{Ribbon|#26ca9b}}}; color:{{{color|#FFFFFF}}}; font-size:100%; padding:1em; width:100%" | '''{{{Name|{{PAGENAME}}}}}'''<br/><small>''{{{Native name|{{SUBPAGENAME}}}}}''</small>
 
|-
 
|-
 
| colspan="2" align="center" |{{#if:{{{image|}}}|[[Image:{{{image}}}|250px]]|Eh?!<br />What's wrong?<br />We may got Macedonia's here…}}{{#if:{{{image info|}}}|<br /><span style="text-align:center;">{{{image info}}}</span>}}
 
| colspan="2" align="center" |{{#if:{{{image|}}}|[[Image:{{{image}}}|250px]]|Eh?!<br />What's wrong?<br />We may got Macedonia's here…}}{{#if:{{{image info|}}}|<br /><span style="text-align:center;">{{{image info}}}</span>}}
 
|-
 
|-
| colspan=2 align="center" bgcolor="#26ca9b" |'''Basic infomations'''
+
| colspan=2 align="center" bgcolor="{{{Ribbon|#26ca9b}}}" |'''Basic infomations'''
 
|-
 
|-
 
! width=70px |Name
 
! width=70px |Name
Line 23: Line 23:
 
{{!}} align="center" {{!}} {{{Moepoint|}}}}}
 
{{!}} align="center" {{!}} {{{Moepoint|}}}}}
 
|-
 
|-
{{#if:{{{Hair color|}}}|
+
!{{#if:{{{Hair Color|}}}|Hair Color}}
!{{#if:{{{Hair color|}}}|Hair color}}
+
| align="center" | {{#if:{{{Hair Color|}}}| {{{Hair Color|}}} {{#ifeq:{{{nocat|}}}|true||[[Category:{{lc:{{{Hair Color|}}}}} hair]]}} }}
{{!}} align="center" {{!}} {{{Hair color}}}}}
 
 
|-
 
|-
 
{{#if:{{{Multiple hair colors|}}}|  
 
{{#if:{{{Multiple hair colors|}}}|  
Line 31: Line 30:
 
{{!}} align="center" {{!}} {{{Multiple hair colors|}}} }}
 
{{!}} align="center" {{!}} {{{Multiple hair colors|}}} }}
 
|-
 
|-
{{#if:{{{Eye color|}}}|
+
!{{#if:{{{Eye Color|}}}|Eye Color}}
!{{#if:{{{Eye color|}}}|Eye color}}
+
| align="center" | {{#if:{{{Eye Color|}}}| {{{Eye Color|}}} {{#ifeq:{{{nocat|}}}|true||[[Category:{{lc:{{{Eye Color|}}}}} eyes]]}} }}
{{!}} align="center" {{!}}  {{{Eye color}}}}}
 
 
|-
 
|-
 
{{#if:{{{Multiple eye colors|}}}|
 
{{#if:{{{Multiple eye colors|}}}|
Line 55: Line 53:
 
{{!}} align="center" {{!}}  {{{Active area|}}} }}
 
{{!}} align="center" {{!}}  {{{Active area|}}} }}
 
|-
 
|-
{{#if:{{{Birthday|}}}|
+
!{{#if:{{#vardefineecho:gci-birthday|{{{Birthday|{{{Date of Birth|}}}}}}}}|Birthday}}
!{{#if:{{{Birthday|}}}|Birthday}}
+
| align="center" | {{#if:{{#var:gci-birthday|}}|{{#time:F j|{{#var:gci-birthday}}}} {{#ifeq:{{{nocat|}}}|true||[[Category:born {{lc:{{#time:F j|{{#var:gci-birthday}}}}}}]]}} }}
{{!}} align="center" {{!}}  {{{Birthday|}}} }}
+
|-
 +
! {{#if:{{{Horoscope|{{#var:gci-birthday|}}}}}|Horoscope}}
 +
| align="center" | {{#if:{{{Horoscope|{{#var:gci-birthday|}}}}}| {{{Horoscope|{{horoscope|sh|{{#var:gci-birthday|}}}}}}} {{#ifeq:{{{nocat|}}}|true||[[Category:{{{Horoscope|{{horoscope|date={{#var:gci-birthday}}}}}}}]]}} }}
 +
|-
 +
{{#if:{{{Death|}}}|
 +
!{{#if:{{{Death|}}}|Death}}
 +
{{!}} align="center" {{!}}  {{{Death|}}} }}
 
|-
 
|-
 
{{#if:{{{Personal status|}}}|
 
{{#if:{{{Personal status|}}}|
Line 64: Line 68:
 
|-
 
|-
 
{{ #if: {{{Relatives|}}} |
 
{{ #if: {{{Relatives|}}} |
! colspan="2"  bgcolor="#26ca9b" {{!}}  '''Relative personnel'''}}
+
! colspan="2"  bgcolor="{{{Ribbon|#26ca9b}}}" {{!}}  '''Relative personnel'''}}
 
|-
 
|-
 
{{ #if: {{{Relatives|}}} |  
 
{{ #if: {{{Relatives|}}} |  
Line 70: Line 74:
 
}}
 
}}
 
|-
 
|-
| colspan=2 align="center" bgcolor="#26ca9b" style="font-size: 150%;"| {{#if:{{{More pictures|}}} | [[:萌娘共享:Category:{{{More pictures|}}}|More pictures of '''{{{More pictures|}}}''']] | [[:萌娘共享:Category:{{PAGENAME}}|'''Related pictures''']]}}
+
| colspan=2 align="center" bgcolor="{{{Ribbon|#26ca9b}}}" style="font-size: 150%;"| {{#if:{{{More pictures|}}} | [[:萌娘共享:Category:{{{More pictures|}}}|More pictures of '''{{{More pictures|}}}''']] | [[:萌娘共享:Category:{{PAGENAME}}|'''Related pictures''']]}}
 
|}</div>
 
|}</div>
 
</includeonly>
 
</includeonly>
 
<noinclude>{{doc}}</noinclude>
 
<noinclude>{{doc}}</noinclude>

Latest revision as of 16:34, 24 March 2022

Template-info.svg Template Documentation  [View] [Edit] [History] [Refresh]

Infobox for country personification characters. Copy the codes beneath to apply in your article. More cool functions (changing top color, adding flags, coat of arms, anthems if possible) coming sooooooon XD.


{{Infobox country
|image=
|image info=
|Name=
|Native name=
|Nickname=
|Birthday= 
|Hair color=
|Multiple hair colors=
|Eye color=
|Multiple eye colors=
|Moepoint=
|National code= 
|Group belongs=
|Alligns=
|Origin area=
|Active area=
|Personal status=
|Relatives=
}}

This is an example:


Hungary
Magyarország
Hungary mk2.JPG
illustrated by NoviSadSakura
Basic infomations
Name Hungary
Native name Magyarország
Other names Lands of the Crown of Saint Stephen
Moepoint Onee(Big sister); Dominant; Swordswoman; Tensai shoujo(Genius girl); Chuuken(Loyal dog); Hinnyuu(Small tits)
Code HU; .hu
Country alligns NATO
Origin area Central Eastern Eurupe
Active area Worldwide
Birthday August 20
Horoscope ♌Leo
Personal status Still misses Transylvania
Relative personnel
Mother (actually not): Hun Musume,

Friend: Poland Musume, V4: Czech Republic & Slovakia Musume

Fomer owner: Austria Musume

Big Enemy: Romania Musume

Ex: Serbia, Offspring: Vojvodina Musume

Related pictures



{{infobox country
|image=Hungary mk2.JPG<!--Fill the file name directly-->
|image info=illustrated by NoviSadSakura
|Name=Hungary
|Native name=Magyarország
|Nickname=Lands of the Crown of Saint Stephen
|Birthday= Aug. 20th<!--It might be National day, Independence day, Sovereign day, Victorious day or other important historical holidays for this country-->
|Hair color=Red
|Multiple hair colors=<!--Fill that item if your character has multiple hair color-->
|Eye color=Green
|Multiple eye colors=
|Moepoint=''Onee''(Big sister); Dominant; Swordswoman; ''Tensai shoujo''(Genius girl); ''Chuuken''(Loyal dog); ''Hinnyuu''{{spoiler|(Small tits)}}<!--The possible reasons for Otaku to love this character-->
|Country code= HU; .hu <!--e.g. SRB; .rs-->
|Group belongs= Europe Union, V4
|Allign= NATO
|Origin area= Central Eastern Eurupe
|Active area= Worldwide
|Personal status= Still misses Transylvania
|Relatives=Mother (actually not): Hun Musume,

Friend: Poland Musume, V4: Czech Republic & Slovakia Musume

Fomer owner: Austria Musume

Big Enemy: Romania Musume

Ex: Serbia, Offspring: Vojvodina Musume
}}

Currently this template only provides the items above. If you need to add extra items, please do not hesitate to add, or let us know, or press 0 to 请高明。

If you don't know what the items mean, please leave it blank.

This template may be (is surely) buggy, please debug immediately or let us know by leaving comments on the template talk, gomennasai.