User:Pharap/Template Sandbox: Difference between revisions

From Guild of Archivists
(Last test.)
(Implement 'Journal date' template.)
Line 1: Line 1:
<includeonly>{{#if: {{{1|{{{ordinal|}}}}}} || {{error|Parameters 1 or ordinal must be provided with a valid argument.}}}}<!--
<includeonly>{{#if: {{{1|{{{hahr|}}}}}} || {{error|Parameters 1 or hahr must be provided with a valid argument.}}}}<!--
-->{{#if: {{{1|{{{ordinal|}}}}}} |
-->{{#if: {{{1|{{{hahr|}}}}}} || {{#if: {{{2|{{{vailee|}}}}}} ||&nbsp;}}}}<!--
{{#ifexpr: (({{{1|{{{ordinal|0}}}}}} >= 0) and ({{{1|{{{ordinal|0}}}}}} <= 624))
-->{{#if: {{{2|{{{vailee|}}}}}} || {{error|Parameters 2 or vailee must be provided with a valid argument.}}}}<!--
| {{#expr: 9375 + {{{1}}}}}{{#ifeq: {{{suffix|yes}}}|yes|&nbsp;DE|}}
-->{{#if: {{{1|{{{hahr|}}}}}} | {{#if: {{{2|{{{vailee|}}}}}} || {{#if: {{{3|{{{yahr|}}}}}} ||&nbsp;}}}} | {{#if: {{{3|{{{yahr|}}}}}} ||&nbsp;}}}}<!--
| {{error|Provided argument must be an integer between 0 and 624 inclusive.}}
-->{{#if: {{{3|{{{yahr|}}}}}} || {{error|Parameters 3 or yahr must be provided with a valid argument.}}}}<!--
}}
-->{{#if: {{{3|{{{yahr|}}}}}} |
{{#if: {{{2|{{{vailee|}}}}}} |
{{#if: {{{1|{{{hahr|}}}}}} |
<span title="{{abbreviated hahr|{{{1|{{{hahr|}}}}}}}} {{vailee name|{{{2|{{{vailee|}}}}}}}} {{checked yahr|{{{3|{{{yahr|}}}}}}}}}">{{{1|{{{hahr|}}}}}}.{{{2|{{{vailee|}}}}}}.{{{3|{{{yahr|}}}}}}</span>
}}
}}
}}</includeonly>
}}</includeonly>
<noinclude>{{Documentation}}</noinclude>

Revision as of 06:46, 30 November 2024

Documentation[create]