Difference between revisions of "Template:Umamusume profile"

From Moegirlpedia
Jump to: navigation, search
m
m
Line 12: Line 12:
 
-->{{#if: {{{Weight|}}}|<tr><td style="background:{{{Secondary bg-color|#B5D913}}}; {{#if: {{{Title color|}}}|color:{{{Title color}}};}} width:80px;{{#if: {{{Text stroke|}}}|{{Text stroke|{{{Text stroke}}}}}}}">Weight</td><td style="width:0;" colspan="2">{{{Weight}}}</td></tr>}}<!--
 
-->{{#if: {{{Weight|}}}|<tr><td style="background:{{{Secondary bg-color|#B5D913}}}; {{#if: {{{Title color|}}}|color:{{{Title color}}};}} width:80px;{{#if: {{{Text stroke|}}}|{{Text stroke|{{{Text stroke}}}}}}}">Weight</td><td style="width:0;" colspan="2">{{{Weight}}}</td></tr>}}<!--
 
-->{{#if: {{{BWH|}}}|<tr><td style="background:{{{Secondary bg-color|#B5D913}}}; {{#if: {{{Title color|}}}|color:{{{Title color}}};}} width:80px;{{#if: {{{Text stroke|}}}|{{Text stroke|{{{Text stroke}}}}}}}">BWH</td><td style="width:0;" colspan="2">{{{BWH|}}}}}</td></tr><!--
 
-->{{#if: {{{BWH|}}}|<tr><td style="background:{{{Secondary bg-color|#B5D913}}}; {{#if: {{{Title color|}}}|color:{{{Title color}}};}} width:80px;{{#if: {{{Text stroke|}}}|{{Text stroke|{{{Text stroke}}}}}}}">BWH</td><td style="width:0;" colspan="2">{{{BWH|}}}}}</td></tr><!--
-->{{#if: {{{Birthday|}}}|<tr><td style="background:{{{Secondary bg-color|#B5D913}}}; {{#if: {{{Title color|}}}|color:{{{Title color}}};}} width:80px;{{#if: {{{Text stroke|}}}|{{Text stroke|{{{Text stroke}}}}}}}">Birthday</td><td style="width:0;" colspan="2">{{{Birthday}}}}}</td></tr><!--
+
-->{{#if: {{#vardefineecho:gci-birthday|{{{Birthday|{{{Date of Birth|}}}}}}}}|Birthday}}|<tr><td style="background:{{{Secondary bg-color|#B5D913}}}; {{#if: {{{Title color|}}}|color:{{{Title color}}};}} width:80px;{{#if: {{{Text stroke|}}}|{{Text stroke|{{{Text stroke}}}}}}}">Birthday</td><td style="width:0;" colspan="2">{{#if:{{#var:gci-birthday|}}|{{#time:F j|{{#var:gci-birthday}}}} {{#ifeq:{{{nocat|}}}|true||[[Category:born {{lc:{{#time:F j|{{#var:gci-birthday}}}}}}]]}}}}</td></tr><!--
 
-->{{#if: {{{CV|}}}|<tr><td style="background:{{{Secondary bg-color|#B5D913}}}; {{#if: {{{Title color|}}}|color:{{{Title color}}};}} width:80px;{{#if: {{{Text stroke|}}}|{{Text stroke|{{{Text stroke}}}}}}}">CV</td><td style="width:0;" colspan="2">{{{Previous CV|}}}[[{{{CV}}}]]{{ArticleCategory|{{{CV category|{{{CV}}}}}}}}</td></tr>}}<!--
 
-->{{#if: {{{CV|}}}|<tr><td style="background:{{{Secondary bg-color|#B5D913}}}; {{#if: {{{Title color|}}}|color:{{{Title color}}};}} width:80px;{{#if: {{{Text stroke|}}}|{{Text stroke|{{{Text stroke}}}}}}}">CV</td><td style="width:0;" colspan="2">{{{Previous CV|}}}[[{{{CV}}}]]{{ArticleCategory|{{{CV category|{{{CV}}}}}}}}</td></tr>}}<!--
 
-->{{#if: {{{Moe points|}}}|<tr><td style="background:{{{Secondary bg-color|#B5D913}}}; {{#if: {{{Title color|}}}|color:{{{Title color}}};}} width:80px;{{#if: {{{Text stroke|}}}|{{Text stroke|{{{Text stroke}}}}}}}">Moe points</td><td style="width:0;" colspan="2">{{{Moe points}}}</td></tr>}}<!--
 
-->{{#if: {{{Moe points|}}}|<tr><td style="background:{{{Secondary bg-color|#B5D913}}}; {{#if: {{{Title color|}}}|color:{{{Title color}}};}} width:80px;{{#if: {{{Text stroke|}}}|{{Text stroke|{{{Text stroke}}}}}}}">Moe points</td><td style="width:0;" colspan="2">{{{Moe points}}}</td></tr>}}<!--

Revision as of 15:32, 8 June 2022

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

A template for characters in Umamusume: Pretty Derby based on Chinese Moegirlpedia's template {{信息栏2.0}}. Made for code simplification.

Note: this example shows all the usage of arguments, therefore it is neither beautiful nor correct.

|
Special Week
スペシャルウィーク
PID91574236.jpg
Basic Information
NicknameSpe-chan (スペちゃん)
Japanese Chief General (日本の総大将)
Draft design
Hair colorBrown hair
Eye colorBlue Purple Heterochromic eyes
Height158cm
WeightSlightly lost (Tend to be nervous before the race)
BWHB81・W56・H81
BirthdayMay 2
CV(Early) Silence SuzukaSpecial Week
Part ofTeam Spica
Relationships
Roommate: Silence Suzuka