Template:reference: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
[[Category:Page Module]]
[[Category:Page Module]]


</noinclude><includeonly>{{#vardefine: disambiguation | {{#arraymap:{{{disambiguation|}}}|,|x|[[disambiguation::x]]}} }}{{#ifeq: {{{year|}}}||{{#vardefine: year | {{{journal_year|}}} }}|{{#vardefine: year | {{{year|}}} }} }}{{#ifeq: {{#var: year }}|| {{#vardefine: year | {{#show:{{{in_title|}}}|?date}} }} }}{{#vardefine: full_title | {{{title|}}} }}{{#ifeq: {{{subtitle|}}}|||{{#vardefine: full_title | {{{title|}}}. {{{subtitle|}}} }} }}{{#vardefine: sortform | {{lc:{{{sortform|}}}}} }}{{#ifeq: {{#var: sortform}}||{{#vardefine: sortform | {{lc:{{PAGENAME}}}} }} }}{{#vardefine: sortform | {{#replace: {{#var: sortform}}|&#38;|&}} }}{{#vardefine: replace |et al.=~?-=?<nowiki> </nowiki>=?&=~?ä=a?ö=o?ü=u?ß=ss?á=a?é=e?í=i?ó=o?ú=u?â=a?ê=e?î=i?ô=o?û=u?è=e?ì=i?~~=~?~~=~}}{{#vardefine: n | 0 }}{{#vardefine: ok | 1 }}{{#while:
</noinclude><includeonly>{{#vardefine: disambiguation | {{#arraymap:{{{disambiguation|}}}|,|x|[[disambiguation::x]]}} }}{{#ifeq: {{{year|}}}||{{#vardefine: year | {{{journal_year|}}} }}|{{#vardefine: year | {{{year|}}} }} }}{{#ifeq: {{#var: year }}|| {{#vardefine: year | {{#show:{{{in_title|}}}|?date}} }} }}{{#vardefine: full_title | {{{title|}}} }}{{#ifeq: {{{subtitle|}}}|||{{#vardefine: full_title | {{{title|}}}. {{{subtitle|}}} }} }}{{#vardefine: sortform | {{lc:{{{sortform|}}}}} }}{{#ifeq: {{#var: sortform}}||{{#vardefine: sortform | {{lc:{{PAGENAME}}}} }} }}{{#vardefine: sortform | {{#replace: {{#var: sortform}}|&#38;|&}} }}{{#vardefine: replace |et al.=~?-=?&=~?ä=a?ö=o?ü=u?ß=ss?á=a?à=a?é=e?í=i?ì=i?ó=o?ò=o?ú=u?ù=u?â=a?ê=e?î=i?ô=o?û=u?è=e?~~=~?~~=~?<nowiki> </nowiki>=}}{{#vardefine: n | 0 }}{{#vardefine: ok | 1 }}{{#while:
   | {{ #ifexpr: {{#var: ok }} = 1 | true }}
   | {{ #ifexpr: {{#var: ok }} = 1 | true }}
   |<nowiki/>
   |<nowiki/>
{{#vardefine: to | {{#explode: {{#var: replace }}|?|{{#var: n }} }} }}{{#vardefine: from | {{#explode: {{#var: to }}|=|0}} }}{{#vardefine: to | {{#explode: {{#var: to }}|=|1}} }}{{#vardefine: sortform | {{#replace: {{#var: sortform}}|{{#var: from}}|{{#var: to}} }} }}{{#vardefine: n | {{ #expr: {{#var: n }} + 1 }} }}{{#ifeq: {{#var: from }}||{{#vardefine: ok | 0 }} }} }}{{#vardefine: sortform | {{ucfirst:{{#var: sortform}}}} }}[[checklevel::{{{checklevel|}}}| ]]{{#vardefine: checklevel | {{{checklevel|}}} }}{{#ifeq: {{#var: checklevel}}||{{#vardefine: checklevel|0}} }}{{#vardefine: problem | {{#arraymap:{{{problem|}}}|,|x|[[problem::x]]}} }}{{#vardefine: sourcetype | {{#arraymap:{{{sourcetype|}}}|,|z|[[type_source::z]]}} }}
{{#vardefine: to | {{#explode: {{#var: replace }}|?|{{#var: n }} }} }}{{#vardefine: from | {{#explode: {{#var: to }}|=|0}} }}{{#vardefine: to | {{#explode: {{#var: to }}|=|1}} }}{{#vardefine: sortform | {{#replace: {{#var: sortform}}|{{#var: from}}|{{#var: to}} }} }}{{#vardefine: n | {{ #expr: {{#var: n }} + 1 }} }}{{#ifeq: {{#var: from }}||{{#vardefine: ok | 0 }} }} }}{{#vardefine: sortform | {{ucfirst:{{#var: sortform}}}} }}[[checklevel::{{{checklevel|}}}| ]]{{#vardefine: checklevel | {{{checklevel|}}} }}{{#ifeq: {{#var: checklevel}}||{{#vardefine: checklevel|0}} }}{{#vardefine: problem | {{#arraymap:{{{problem|}}}|,|x|[[problem::x]]}} }}{{#vardefine: sourcetype | {{#arraymap:{{{sourcetype|}}}|,|z|[[type_source::z]]}} }}
{{#ifgroup:editor|<div class="formedit">[[Special:EditData/reference/{{FULLPAGENAME}}|edit with form]]</div>
<div class="formedit">[[Special:EditData/reference/{{FULLPAGENAME}}|edit with form]]</div>
<div class="cshow">{{#ifexpr: {{#var: checklevel }} != 0 |
*[[Property:checklevel|Checklevel]]: {{#var: checklevel }}
*[[Property:problem|Problems]]: {{#var: problem }}| }}
*[[Property:sortform|Sortform]]: {{#ifeq: {{{sortform|}}}||[pagename]|"{{{sortform|}}}"}} > "{{#var: sortform}}"{{#ifeq: {{#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/])}}</div>}}
 
{| class="table_data" width=100%
{| class="table_data" width=100%
! colspan="2" class="field_category" | [[:Category:Reference|Reference]]
! colspan="2" class="field_category" | [[:Category:Reference|Reference]]

Latest revision as of 00:38, 22 April 2016

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.