Template:inscription: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
Line 105: Line 105:
{{#vardefine: ir|{{#pad:{{#var: ir}}|3|0|left}}_{{#explode:{{{sigla_ir|}}}| |1}} }}[[sortform_ir::{{#var: ir}}| ]]{{#vardefine: mancini |{{#replace: {{{sigla_mancini|}}}|-|_}} }}{{#vardefine: mancini |{{#replace: {{#var: mancini}}| |_}} }}{{#vardefine: mancini_letters | {{#explode:{{#var: mancini}}|_|0}} }}{{#vardefine: mancini_number | {{#explode:{{#var: mancini}}|_|1}} }}{{#vardefine: mancini |{{#pad:{{#var: mancini_letters}}|3|0|right}}_{{#pad:{{#var: mancini_number}}|3|0|left}}_{{#explode:{{#var: mancini}}|_|2}} }}[[sortform_mancini::{{#var: mancini}}| ]]
{{#vardefine: ir|{{#pad:{{#var: ir}}|3|0|left}}_{{#explode:{{{sigla_ir|}}}| |1}} }}[[sortform_ir::{{#var: ir}}| ]]{{#vardefine: mancini |{{#replace: {{{sigla_mancini|}}}|-|_}} }}{{#vardefine: mancini |{{#replace: {{#var: mancini}}| |_}} }}{{#vardefine: mancini_letters | {{#explode:{{#var: mancini}}|_|0}} }}{{#vardefine: mancini_number | {{#explode:{{#var: mancini}}|_|1}} }}{{#vardefine: mancini |{{#pad:{{#var: mancini_letters}}|3|0|right}}_{{#pad:{{#var: mancini_number}}|3|0|left}}_{{#explode:{{#var: mancini}}|_|2}} }}[[sortform_mancini::{{#var: mancini}}| ]]
|-
|-
! [[Property:index|Sources]]:
! [[Bibliography|Sources]]:
| {{#vardefine: sources | {{{source|}}} }}{{#vardefine: sources | {{#replace: {{#var: sources }}|: |:}} }}{{#vardefine: sources | {{#replace: {{#var: sources }}|; |;}} }}{{#vardefine: i | 0 }}{{#vardefine: ok | 1 }}{{ #while:
| {{#ifeq:{{{source|}}}|unpublished|unpublished|{{#vardefine: sources | {{{source|}}} }}{{#vardefine: sources | {{#replace: {{#var: sources }}|: |:}} }}{{#vardefine: sources | {{#replace: {{#var: sources }}|; |;}} }}{{#vardefine: i | 0 }}{{#vardefine: ok | 1 }}{{ #while:
   | {{ #ifexpr: {{ #var: ok }} = 1 | true }}
   | {{ #ifexpr: {{ #var: ok }} = 1 | true }}
   |<nowiki/>{{#vardefine: entry | {{#explode: {{#var: sources }}|;| {{#var: i }} }} }}{{#ifeq: {{#var: entry }}||{{#vardefine: ok | 0 }}|{{#vardefine: link | {{#explode: {{#var: entry }}|:|0}} }}{{#vardefine: text | {{#explode: {{#var: entry }}|:|1}} }}{{#ifeq: {{#var: i }}|0||<br>}}{{bib|{{#var: link }}}}: {{#var: text}} }}{{#vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }} }}
   |<nowiki/>{{#vardefine: entry | {{#explode: {{#var: sources }}|;| {{#var: i }} }} }}{{#ifeq: {{#var: entry }}||{{#vardefine: ok | 0 }}|{{#vardefine: link | {{#explode: {{#var: entry }}|:|0}} }}{{#vardefine: text | {{#explode: {{#var: entry }}|:|1}} }}{{#ifeq: {{#var: i }}|0||<br>}}{{bib|{{#var: link }}}}: {{#var: text}} }}{{#vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }} }} }}
|}
|}
{{gallery}}[[Category:Inscription|{{#var: sortform}}]]
{{gallery}}[[Category:Inscription|{{#var: sortform}}]]
</includeonly>
</includeonly>

Revision as of 20:07, 19 November 2013

This template serves to display pages about inscriptions. These are best created or edited with the Form:inscription.

See the Category:Inscription for a list of all 389 inscription pages.