Template:reference: 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]]}} }}{{#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: full_citation |{{{author|}}}{{#ifeq: {{{author_info|}}}||| {{{author_info|}}}}}, {{#ifeq: {{{in_title|}}}||{{#ifeq: {{{journal|}}}||''{{#var: full_title}}''|"{{#var: full_title}}"}}|"{{#var: full_title}}"}}{{#ifeq: {{{review_of|}}}|||{{#vardefine: review |{{#show:{{{review_of|}}}|?text_plain}} }}{{#vardefine: review |{{#replace: {{#var: review }}|[|[}} }}{{#vardefine: review |{{#replace: {{#var: review }}|]|]}} }}{{#vardefine: len | {{#expr: {{#len: {{#var: review }} }} -1 }} }}{{#ifexpr: {{#rpos: {{#var: review}}|.}} = {{#var: len}} | {{#vardefine: review | {{#sub: {{#var: review }}|0|{{#var: len}} }} }} }}, review of: {{#var: review }} }}{{#ifeq: {{{edition|}}}|||, {{{edition|}}}}}{{#ifeq: {{{in_title|}}}|||{{#vardefine: in | {{#show:{{{in_title|}}}|?text_plain}} }}{{#vardefine: in |{{#replace: {{#var: in }}|[|[}} }}{{#vardefine: in |{{#replace: {{#var: in }}|]|]}} }}{{#vardefine: len | {{#expr: {{#len: {{#var: in }} }} -1 }} }}{{#ifexpr: {{#rpos: {{#var: in}}|.}} = {{#var: len}} | {{#vardefine: in | {{#sub: {{#var: in }}|0|{{#var: len}} }} }} }}, in: {{#var: in }} }}{{#ifeq: {{{journal|}}}|||, ''{{{journal|}}}'' {{{issue|}}}{{#ifeq: {{#var: year }}||| ({{#var: year }})}} }}{{#ifeq:{{{series|}}}||| [= {{{series|}}}{{#ifeq:{{{series_number|}}}||| {{{series_number|}}}}}]}}{{#ifeq: {{{city|}}}|||, {{{city|}}}: {{{publisher|}}} {{#var: year }}}}{{#ifeq:{{{pages|}}}|||, {{{pages|}}}}}. {{{description|}}} }}{{#vardefine: sortform | {{lc:{{{ | </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: full_citation |{{{author|}}}{{#ifeq: {{{author_info|}}}||| {{{author_info|}}}}}, {{#ifeq: {{{in_title|}}}||{{#ifeq: {{{journal|}}}||''{{#var: full_title}}''|"{{#var: full_title}}"}}|"{{#var: full_title}}"}}{{#ifeq: {{{review_of|}}}|||{{#vardefine: review |{{#show:{{{review_of|}}}|?text_plain}} }}{{#vardefine: review |{{#replace: {{#var: review }}|[|[}} }}{{#vardefine: review |{{#replace: {{#var: review }}|]|]}} }}{{#vardefine: len | {{#expr: {{#len: {{#var: review }} }} -1 }} }}{{#ifexpr: {{#rpos: {{#var: review}}|.}} = {{#var: len}} | {{#vardefine: review | {{#sub: {{#var: review }}|0|{{#var: len}} }} }} }}, review of: {{#var: review }} }}{{#ifeq: {{{edition|}}}|||, {{{edition|}}}}}{{#ifeq: {{{in_title|}}}|||{{#vardefine: in | {{#show:{{{in_title|}}}|?text_plain}} }}{{#vardefine: in |{{#replace: {{#var: in }}|[|[}} }}{{#vardefine: in |{{#replace: {{#var: in }}|]|]}} }}{{#vardefine: len | {{#expr: {{#len: {{#var: in }} }} -1 }} }}{{#ifexpr: {{#rpos: {{#var: in}}|.}} = {{#var: len}} | {{#vardefine: in | {{#sub: {{#var: in }}|0|{{#var: len}} }} }} }}, in: {{#var: in }} }}{{#ifeq: {{{journal|}}}|||, ''{{{journal|}}}'' {{{issue|}}}{{#ifeq: {{#var: year }}||| ({{#var: year }})}} }}{{#ifeq:{{{series|}}}||| [= {{{series|}}}{{#ifeq:{{{series_number|}}}||| {{{series_number|}}}}}]}}{{#ifeq: {{{city|}}}|||, {{{city|}}}: {{{publisher|}}} {{#var: year }}}}{{#ifeq:{{{pages|}}}|||, {{{pages|}}}}}. {{{description|}}} }}{{#ifeq: {{#var: sortform}}||{{#vardefine: sortform | {{PAGENAME}} }} }}{{#vardefine: sortform | {{lc:{{#var: sortform}}}} }}{{#vardefine: replace |et al.=~?-=~?<nowiki> </nowiki>=?&=~?&=~?ä=a?ö=o?ü=u?ß=ss?á=a?é=e?ì=i}}{{#vardefine: n | 0 }} | ||
{{#vardefine: ok | 1 }}{{#while: | |||
| {{ #ifexpr: {{#var: ok }} = 1 | true }} | |||
|<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]]}} }} | |||
{{#ifgroup:editor|<div class="formedit">[[Special:EditData/reference/{{FULLPAGENAME}}|edit with form]]</div> | {{#ifgroup:editor|<div class="formedit">[[Special:EditData/reference/{{FULLPAGENAME}}|edit with form]]</div> | ||
<div class="cshow">{{#ifexpr: {{#var: checklevel }} != 0 | | <div class="cshow">{{#ifexpr: {{#var: checklevel }} != 0 | |
Revision as of 05:58, 10 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.