Template:reference: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
Line 17: Line 17:
*[[Property:sortform|Sortform]]: {{#ifeq: {{{sortform|}}}||[pagename]|"{{{sortform|}}}"}} > "{{#var: sortform}}"{{#ifeq: {{#var: disambiguation }}|||
*[[Property:sortform|Sortform]]: {{#ifeq: {{{sortform|}}}||[pagename]|"{{{sortform|}}}"}} > "{{#var: sortform}}"{{#ifeq: {{#var: disambiguation }}|||
*[[Property:disambiguation|Disambiguation pages]]: {{#var: disambiguation }} }}
*[[Property:disambiguation|Disambiguation pages]]: {{#var: disambiguation }} }}
*[[Property:type_source|Avaliable as]]: {{#var: sourcetype}} {{#ifeq: {{#ask: [[{{FULLPAGENAME}}]][[type_source::project download]]|mainlabel=-|?#}}|{{FULLPAGENAME}}| (go to [http://www.univie.ac.at/raetica/download/ /raetica/download/])}}
*[[Property:type_source|Avaliable as]]: {{#var: sourcetype}} {{#ifeq: {{#ask: [[{{FULLPAGENAME}}]][[type_source::project download]]|mainlabel=-|?#}}|{{FULLPAGENAME}}| (go to [http://www.univie.ac.at/raetica/download/ /raetica/download/])}}</div>}}
*[[Property:normname]]: {{#if: {{{normname|}}}|{{#arraymap:{{{normname|}}}|,|x|[[normname::x]]}}|{{#arraymap:{{{author|}}}|,|x|[[normname::x]]}}}}</div>}}


{| class="table_data" width=100%
{| class="table_data" width=100%
Line 29: Line 28:
| {{#vardefine: values | {{{author|}}} }}{{#vardefine: i | 0 }}{{#vardefine: ok | 1 }}{{#while:
| {{#vardefine: values | {{{author|}}} }}{{#vardefine: i | 0 }}{{#vardefine: ok | 1 }}{{#while:
   | {{#ifexpr: {{#var: ok }} > 0 | true }}
   | {{#ifexpr: {{#var: ok }} > 0 | true }}
   |<nowiki/>{{#vardefine: entry | {{#explode: {{#var: values }}|,| {{#var: i }} }} }}{{#ifeq: {{#var: entry }}||{{#vardefine: ok | 0 }}|[[author::{{#var: entry }}| ]]{{#ifexpr: {{#var: i }} > 0 |,&#32;|}}{{#ask:[[Category:Reference]][[author::{{#var: entry }}]]|searchlabel={{#var: entry }}|?author=Author/Editor|limit=0|sort=sortform}} }}{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} }}
   |<nowiki/>{{#vardefine: entry | {{#explode: {{#var: values }}|,| {{#var: i }} }} }}{{#ifeq: {{#var: entry }}||{{#vardefine: ok | 0 }}|{{#vardefine: normname | {{#explode: {{#var: entry }}|!|0}} }}{{#vardefine: author | {{#explode: {{#var: entry }}|!|1}} }}{{#ifeq: {{#var: author }}||{{#vardefine: author | {{#var: normname }} }} }}[[author::{{#var: author }}| ]][[normname::{{#var: normname }}| ]]{{#ifexpr: {{#var: i }} > 0 |,&#32;|}}{{#ask:[[Category:Reference]][[normname::{{#var: normname }}]]|searchlabel={{#var: author }}|?author=Author/Editor|limit=0|sort=sortform}} }}{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} }}
|-
|-
! [[Property:type_reference|Type]]:
! [[Property:type_reference|Type]]:

Revision as of 19:41, 24 February 2014

This template serves to display pages about referenced literature. These are best created or edited with the Form:reference.

See the Bibliography for a list of all 924 reference pages.