Permanently protected template

Template:Birth date and age: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
(Created page with "<includeonly><!-- ISO 8601 Date Indicator -->{{ #ifexpr: {{#if:{{{1|}}}|1|0}} + {{#if:{{{2|}}}|1|0}} + {{#if:{{{3|}}}|1|0}}=3 | <span style="display:none"> (<span class="bday"...")
 
m (Changed protection settings for "Template:Birth date and age" ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly>{{{{{|safesubst:}}}#invoke:age|birth_date_and_age}}{{#invoke:Check for unknown parameters|check|ignoreblank=y|preview=Page using [[Template:Birth date and age]] with unknown parameter "_VALUE_"|unknown={{main other|[[Category:Pages using birth date and age template with unknown parameters|_VALUE_{{PAGENAME}}]]}}|1|2|3|day|month|year|df|mf}}</includeonly><noinclude>
ISO 8601 Date Indicator
 
-->{{ #ifexpr: {{#if:{{{1|}}}|1|0}} + {{#if:{{{2|}}}|1|0}} + {{#if:{{{3|}}}|1|0}}=3 | <span style="display:none"> (<span class="bday">{{{1}}}-{{padleft:{{{2}}}|2|0}}-{{padleft:{{{3}}}|2|0}}</span>) </span> }}<!--
Year Display
-->{{ #if: {{{1|}}}
| [[{{Date | year={{{1}}} }}]]
| {{color|gray|????}}年
}}<!--
月日表示部
-->{{ #ifexpr: {{#if:{{{2|}}}|1|0}} + {{#if:{{{3|}}}|1|0}} = 2
| [[{{Date | month={{{2}}} | day={{{3}}} }}]]
| {{ #if: {{{2|}}}
    | [[{{Date | month={{{2}}} }}]]{{color|gray|??}}日
    | {{ #if: {{{3|}}}
        | {{color|gray|??}}月{{年月日 | day={{{3}}} }}
        | {{color|gray|??}}月{{color|gray|??}}日
      }}
  }}
}}<!--
Age Display
-->{{ #switch: {{lc:{{{4|}}}}}
| Hide|No Show|No|Death|dead|death|die|died|no = <!-- Hide Age -->
| #default = <!-- Age Display -->{{ #ifexpr: {{#if:{{{1|}}}|1|0}} + {{#if:{{{2|}}}|1|0}} + {{#if:{{{3|}}}|1|0}}=3 | ({{年数 | {{{1}}} | {{{2}}} | {{{3}}} }}歳) }}
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
<!-- Please add categories and interwiki links to /doc subpage, not here! -->
<!-- Add categories to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 23:26, 13 June 2023