Template:reference: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
Line 25: Line 25:
| {{#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}} }}{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} }}
   |<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 }} }} }}
|-
|-
! [[Property:type_reference|Type]]:
! [[Property:type_reference|Type]]:
Line 33: Line 33:
| {{#vardefine: values | {{{language|}}} }}{{#vardefine: i | 0 }}{{#vardefine: ok | 1 }}{{#while:
| {{#vardefine: values | {{{language|}}} }}{{#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 }}|[[language::{{#var: entry }}| ]]{{#ifexpr: {{#var: i }} > 0 |,&#32;|}}{{#ask:[[Category:Reference]][[language::{{#var: entry }}]]|searchlabel={{#var: entry }}|?language=Language|limit=0}} }}{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} }}
   |<nowiki/>{{#vardefine: entry | {{#explode: {{#var: values }}|,| {{#var: i }} }} }}{{#ifeq: {{#var: entry }}||{{#vardefine: ok | 0 }}|[[language::{{#var: entry }}| ]]{{#ifexpr: {{#var: i }} > 0 |,&#32;|}}{{#ask:[[Category:Reference]][[language::{{#var: entry }}]]|searchlabel={{#var: entry }}|?language=Language|limit=0|sort=sortform}} }}{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} }}
|-
|-
{{#if: {{{link_title|}}} |
{{#if: {{{link_title|}}} |

Revision as of 17:57, 3 November 2013

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 925 reference pages.