Template:inscription: Difference between revisions
From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
Martin Braun (talk | contribs) No edit summary |
Martin Braun (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
[[Category:Page Module]] | [[Category:Page Module]] | ||
</noinclude><includeonly>{{#vardefine: disambiguation | {{#arraymap:{{{disambiguation|}}}|,|x|[[disambiguation::x]]}} }}{{#vardefine: sortform |{{#replace: {{FULLPAGENAME}}|.|·}} }}{{#vardefine: sortform |{{#replace: {{#var: sortform}}|-|·}} }}{{#vardefine: sortform |{{#replace: {{#var: sortform}}| |·}} }}{{#vardefine: number |{{#explode:{{#var: sortform}}|·|1}} }}{{#vardefine: subnumber |{{#explode:{{#var: sortform}}|·|2}} }}[[sigla_group::{{#explode:{{#var: sortform}}|·|0}}| ]]{{#vardefine: sortform |{{#explode:{{#var: sortform}}|·|0}}_{{#pad:{{#var: number}}|3|0|left}}_{{#pad:{{#var: subnumber}}|3|0|left}} }}[[sortform::{{#var: sortform}}| ]][[checklevel::{{{checklevel|}}}| ]]{{#vardefine: checklevel | {{{checklevel|}}} }}{{#ifeq: {{#var: checklevel }} || {{#vardefine: checklevel | 0 }} }}{{#arraymap:{{{problem|}}}|,|x|[[problem::x | </noinclude><includeonly>{{#vardefine: disambiguation | {{#arraymap:{{{disambiguation|}}}|,|x|[[disambiguation::x]]}} }}{{#vardefine: sortform |{{#replace: {{FULLPAGENAME}}|.|·}} }}{{#vardefine: sortform |{{#replace: {{#var: sortform}}|-|·}} }}{{#vardefine: sortform |{{#replace: {{#var: sortform}}| |·}} }}{{#vardefine: number |{{#explode:{{#var: sortform}}|·|1}} }}{{#vardefine: subnumber |{{#explode:{{#var: sortform}}|·|2}} }}[[sigla_group::{{#explode:{{#var: sortform}}|·|0}}| ]]{{#vardefine: sortform |{{#explode:{{#var: sortform}}|·|0}}_{{#pad:{{#var: number}}|3|0|left}}_{{#pad:{{#var: subnumber}}|3|0|left}} }}[[sortform::{{#var: sortform}}| ]][[checklevel::{{{checklevel|}}}| ]]{{#vardefine: checklevel | {{{checklevel|}}} }}{{#ifeq: {{#var: checklevel }} || {{#vardefine: checklevel | 0 }} }}{{#vardefine: problem|{{#arraymap:{{{problem|}}}|,|x|[[problem::x]]}} }} | ||
{{#ifgroup:editor|<div class="formedit">[[Special:EditData/inscription/{{FULLPAGENAME}}|edit with form]]</div> | {{#ifgroup:editor|<div class="formedit">[[Special:EditData/inscription/{{FULLPAGENAME}}|edit with form]]</div> | ||
<div class="cshow">{{#ifexpr: {{#var: checklevel }} != 0 | | <div class="cshow">{{#ifexpr: {{#var: checklevel }} != 0 | | ||
*[[Property:checklevel|Checklevel]]: {{#var: checklevel }} | *[[Property:checklevel|Checklevel]]: {{#var: checklevel }} | ||
*[[Property:problem|Problems]]: {{ | *[[Property:problem|Problems]]: {{#var: problem }}| }} | ||
*[[Property:sortform|Sortform]]: {{#var: sortform}}{{#ifeq: {{#var: disambiguation }}||| | *[[Property:sortform|Sortform]]: {{#var: sortform}}{{#ifeq: {{#var: disambiguation }}||| | ||
*[[Property:disambiguation|Disambiguation pages]]: {{#var: disambiguation }} }}</div>}} | *[[Property:disambiguation|Disambiguation pages]]: {{#var: disambiguation }} }}</div>}} | ||
Line 30: | Line 30: | ||
|- | |- | ||
! [[:Category:Object|Object]]: | ! [[:Category:Object|Object]]: | ||
| [[object::{{{object|}}}]] {{#ifeq: {{{object|}}}|unknown||({{#show: {{{object|}}} | ?type_object }}){{#vardefine: n | {{#show:{{{object|}}}|?coordinate_n}} }}{{# | | [[object::{{{object|}}}]] {{#ifeq: {{{object|}}}|unknown||({{#show: {{{object|}}} | ?type_object }}){{#vardefine: n | {{#show:{{{object|}}}|?coordinate_n}} }}{{#ifeq: {{#var: n }}|||{{#vardefine: e | {{#show:{{{object|}}}|?coordinate_e}} }}[[coordinate::{{#var: n }} N, {{#var: e }} E| ]][[coordinate_n::{{#var: n }}| ]][[coordinate_e::{{#var: e }}| ]]}}{{#vardefine: object | {{{object|}}} }}{{#vardefine: count | {{#ask: [[Category:Inscription]][[object::{{#var: object }}]]|format=count }} }}{{#ifexpr: {{#var: count }} > 1 | <br>(Inscriptions: {{#ask: [[Category:Inscription]][[object::{{#var: object }}]]|format=list }}) }} }} | ||
|- | |- | ||
! [[Property:position|Position]]: | ! [[Property:position|Position]]: |
Revision as of 08:42, 4 September 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.