Template:inscription: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
Line 102: Line 102:
|-
|-
! [[Concordance|Alternative sigla]]:
! [[Concordance|Alternative sigla]]:
| {{#vardefine: separator|}}{{#ifeq: {{{sigla_pid|}}}|||{{#var:separator}}{{bib|PID}} {{#arraymap:{{{sigla_pid|}}}|,|x|[[sigla_pid::x]]}}{{#vardefine:separator|<br>}}}}{{#ifeq: {{{sigla_ir|}}}|||{{#var:separator}}{{bib|IR}} {{#arraymap:{{{sigla_ir|}}}|,|x|[[sigla_ir::x]]}}{{#vardefine: separator|<br>}}}}{{#ifeq: {{{sigla_mancini|}}}|||{{#var:separator}}{{bib|LIR}} {{#arraymap:{{{sigla_mancini|}}}|,|x|[[sigla_mancini::x]]}}{{#vardefine: separator|<br>}}}}{{#ifeq: {{#var:separator}}||none}}{{#vardefine: pid|{{#explode:{{{sigla_pid|}}}| |0}} }}{{#vardefine: pid|{{#pad:{{#var: pid}}|3|0|left}}_{{#explode:{{{sigla_pid|}}}| |1}} }}[[sortform_pid::{{#var: pid}}| ]]{{#vardefine: ir| {{#explode:{{{sigla_ir|}}}| |0}} }}
| {{#vardefine: separator|}}{{#ifeq: {{{sigla_pid|}}}|||{{#var:separator}}{{bib|PID}} {{#arraymap:{{{sigla_pid|}}}|,|x|[[sigla_pid::x]]}}{{#vardefine:separator|<br>}}}}{{#ifeq: {{{sigla_ir|}}}|||{{#var:separator}}{{bib|IR}} {{#arraymap:{{{sigla_ir|}}}|,|x|[[sigla_ir::x]]}}{{#vardefine: separator|<br>}}}}{{#ifeq: {{{sigla_mancini|}}}|||{{#var:separator}}{{bib|LIR}} {{#arraymap:{{{sigla_mancini|}}}|,|x|[[sigla_mancini::x]]}}{{#vardefine: separator|<br>}}}}{{#ifeq: {{#var:separator}}||none}}{{#vardefine: pid_a | {{#explode:{{{sigla_pid|}}}|,|0}} }}{{#vardefine: pid | {{#explode:{{#var: pid_a}}| |0}} }}{{#vardefine: pid | {{#pad:{{#var: pid}}|3|0|left}}_{{#explode:{{#var: pid_a}}| |1}} }}[[sortform_pid::{{#var: pid}}| ]]{{#vardefine: ir_a | {{#explode:{{{sigla_ir|}}}|,|0}} }}{{#vardefine: ir | {{#explode:{{#var: ir_a}}| |0}} }}{{#vardefine: ir | {{#pad:{{#var: ir}}|3|0|left}}_{{#explode:{{#var: ir_a}}| |1}} }}[[sortform_ir::{{#var: ir}}| ]]{{#vardefine: lir | {{#explode:{{{sigla_mancini|}}}|,|0}} }}{{#vardefine: lir |{{#replace: {{#var: lir}}|-|_}} }}{{#vardefine: lir |{{#replace: {{#var: lir}}| |_}} }}{{#vardefine: lir_letters | {{#explode:{{#var: lir}}|_|0}} }}{{#vardefine: lir_number | {{#explode:{{#var: lir}}|_|1}} }}{{#vardefine: lir |{{#pad:{{#var: lir_letters}}|3|0|right}}_{{#pad:{{#var: lir_number}}|3|0|left}}_{{#explode:{{#var: lir}}|_|2}} }}[[sortform_mancini::{{#var: lir}}| ]]{{#ifeq:{{{source|}}}|||
{{#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}}| ]]
{{!}}-
|-
! [[Bibliography|Sources]]:
! [[Bibliography|Sources]]:
| {{#ifeq:{{{source|}}}|unpublished|unpublished|{{#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:15, 30 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.