User:Pharap/Template Sandbox: Difference between revisions
From Guild of Archivists
(Test 'Journal-date' module.) |
(Test revision of 'jounal date' template.) |
||
Line 1: | Line 1: | ||
{{# | <includeonly>{{#if: {{{1|{{{hahr| }}}}}} || {{error|Parameters 1 or hahr must be provided with a valid argument.}} }}<!-- | ||
-->{{#if: {{{1| {{{hahr| }}} }}} || {{#if: {{{2| {{{vailee| }}}}}} || }} }}<!-- | |||
-->{{#if: {{{2| {{{vailee| }}} }}} || {{error|Parameters 2 or vailee must be provided with a valid argument.}} }}<!-- | |||
-->{{#if: {{{1| {{{hahr| }}} }}} | {{#if: {{{2| {{{vailee| }}}}}} || {{#if: {{{3| {{{yahr| }}}}}} || }} }} | {{#if: {{{3| {{{yahr| }}}}}} || }} }}<!-- | |||
-->{{#if: {{{3| {{{yahr| }}} }}} || {{error|Parameters 3 or yahr must be provided with a valid argument.}} }}<!-- | |||
-->{{#if: {{{3| {{{yahr| }}} }}} | | |||
{{#if: {{{2| {{{vailee| }}}}}} | | |||
{{#if: {{{1| {{{hahr| }}}}}} | | |||
{{hover text| {{abbreviated hahr| {{{1| {{{hahr| }}} }}} |suffix=yes}} {{vailee name| {{{2| {{{vailee| }}} }}} }} {{checked yahr| {{{3| {{{yahr| }}} }}} }} | {{#if: {{{dni|}}} | [[{{abbreviated hahr| {{{1| {{{hahr| }}} }}} }} DE|{{#invoke:Dni-numerals|number_to_dni_string| {{{1| {{{hahr| }}} }}} }}]] • {{#invoke:Dni-numerals|number_to_dni_string| {{{2| {{{vailee| }}} }}} }} • {{#invoke:Dni-numerals|number_to_dni_string| {{{3| {{{yahr| }}} }}} }} | [[{{abbreviated hahr| {{{1| {{{hahr| }}} }}} }} DE|{{{1| {{{hahr| }}} }}}]].{{{2| {{{vailee| }}} }}}.{{{3| {{{yahr| }}} }}} }} }} | |||
}} | |||
}} | |||
}}</includeonly><!-- | |||
--><noinclude>{{Documentation}}</noinclude> |