Template:Citation/core: Difference between revisions
From SikhiWiki
Jump to navigationJump to search
Hari singh (talk | contribs) (Created page with "<span class="citation {{{Citation class|{{{Citation type|}}}}}}" {{ #switch:{{{Ref|}}} ||none = |#default = id="{{anchorencode:{{{Ref}}}}}" |harv = {{#if:{{{Surname1|}}}{...") |
Hari singh (talk | contribs) m (Protected "Template:Citation/core" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
(No difference)
|
Latest revision as of 13:59, 4 August 2010
{{
#if: |{{ #if: |{{ #iferror: {{ #expr: 1*{{{AuthorMask}}} }} |{{{AuthorMask}}} |Template:Loop}} |{{ #if: |[[{{{Authorlink1}}} |{{{Surname1}}}{{ #if: |, {{{Given1}}} }}]] |{{{Surname1}}}{{ #if: |, {{{Given1}}} }} }} }}{{ #if: |{{#ifexpr:8<2 | et al. |{{ #iferror: {{ #expr: 1*0.0 }} | |{{ #if: |; |{{#if:| & |; }} }} }}{{ #if: |[[{{{Authorlink2}}} |{{{Surname2}}}{{ #if: |, {{{Given2}}} }}]] |{{{Surname2}}}{{ #if: |, {{{Given2}}} }} }}{{ #if: |{{#ifexpr:8<3 | et al. |{{ #if: |; |{{#if:| & |; }} }}{{ #if: |[[{{{Authorlink3}}} |{{{Surname3}}}{{ #if: |, {{{Given3}}} }}]] |{{{Surname3}}}{{ #if: |, {{{Given3}}} }} }}{{ #if: |{{#ifexpr:8<4 | et al. |{{ #if: |; |{{#if:| & |; }} }}{{ #if: |[[{{{Authorlink4}}} |{{{Surname4}}}{{ #if: |, {{{Given4}}} }}]] |{{{Surname4}}}{{ #if: |, {{{Given4}}} }} }}{{ #if: |{{#ifexpr:8<5 | et al. |{{ #if: |; |{{#if:| & |; }} }}{{ #if: |[[{{{Authorlink5}}} |{{{Surname5}}}{{ #if: |, {{{Given5}}} }}]] |{{{Surname5}}}{{ #if: |, {{{Given5}}} }} }}{{ #if: |{{#ifexpr:8<6 | et al. |{{ #if: |; |{{#if:| & |; }} }}{{ #if: |[[{{{Authorlink6}}} |{{{Surname6}}}{{ #if: |, {{{Given6}}} }}]] |{{{Surname6}}}{{ #if: |, {{{Given6}}} }} }}{{ #if: |{{#ifexpr:8<7 | et al. |{{ #if: |; |{{#if:| & |; }} }}{{ #if: |[[{{{Authorlink7}}} |{{{Surname7}}}{{ #if: |, {{{Given7}}} }}]] |{{{Surname7}}}{{ #if: |, {{{Given7}}} }} }}{{ #if: |{{#ifexpr:8<8 | et al. |{{ #if: |; |{{#if:| & |; }} }}{{ #if: |[[{{{Authorlink8}}} |{{{Surname8}}}{{ #if: |, {{{Given8}}} }}]] |{{{Surname8}}}{{ #if: |, {{{Given8}}} }} }}{{ #if: | et al. }} }} }} }} }} }} }} }} }} }} }} }} }} }}
}}{{ #if: |; | }}{{ #if: | ({{{Date}}}){{ #if: | [{{{YearNote}}}] }} }} |{{ #if: |{{ #if: |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{ #if: |, {{{EditorGiven1}}} }}]] |{{{EditorSurname1}}}{{ #if: |, {{{EditorGiven1}}} }} }}{{ #if: |{{ #if: |; |{{#if:| & |; }} }}{{ #if: |[[{{{Editorlink2}}} |{{{EditorSurname2}}}{{ #if: |, {{{EditorGiven2}}} }}]] |{{{EditorSurname2}}}{{ #if: |, {{{EditorGiven2}}} }} }}{{ #if: |{{ #if: |; |{{#if:| & |; }} }}{{ #if: |[[{{{Editorlink3}}} |{{{EditorSurname3}}}{{ #if: |, {{{EditorGiven3}}} }}]] |{{{EditorSurname3}}}{{ #if: |, {{{EditorGiven3}}} }} }}{{ #if: | et al. }} }} }}, ed{{#if:|s}}{{#ifeq:,|.||.}}{{ #if: | ({{{Date}}}){{ #if: | [{{{YearNote}}}] }} }} }}
}}{{
#if: {{#if:||{{#if:||}}}} |{{ #if: |, }}Template:Citation/make link
}}{{
#if: |{{ #ifeq: | | |{{ #if: |, written at {{{Place}}} }} }}
}}{{
#if: |{{ #if: |, {{ #if: |in }}{{ #if: |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{ #if: |, {{{EditorGiven1}}} }}]] |{{{EditorSurname1}}}{{ #if: |, {{{EditorGiven1}}} }}}}{{ #if: |{{ #if: |; |{{#if:| & |; }} }}{{ #if: |[[{{{Editorlink2}}}|{{{EditorSurname2}}}{{ #if: |, {{{EditorGiven2}}} }}]] |{{{EditorSurname2}}}{{ #if: |, {{{EditorGiven2}}} }} }}{{ #if: |{{ #if: |; |{{#if:| & |; }} }}{{ #if: |[[{{{Editorlink3}}}|{{{EditorSurname3}}}{{ #if: |, {{{EditorGiven3}}} }}]] |{{{EditorSurname3}}}{{ #if: |, {{{EditorGiven3}}} }} }}{{ #if: | et al. }} }} }}{{ #if: | |, ed{{#if:|s}}{{#ifeq:,|.||.}} }} }}
}}{{
#if: |{{ #if: |, }}{{ #if: |, }}{{ #if: |Template:Citation/make link{{ #if: |, {{{TitleNote}}} }} }}
}}{{
#if: | (in {{{language}}})
}}{{
#if: | ({{{format}}})
}}{{
#if: |{{ #if: |, }}{{{Periodical}}}{{ #if: |, {{{Series}}} }}{{ #if: |{{ #if: | ({{{PublicationPlace}}}: {{{Publisher}}}) | ({{{PublicationPlace}}}) }} |{{ #if: | ({{{Publisher}}}) }} }}{{ #if: | {{{Volume}}}{{ #if: | ({{{Issue}}}) }} |{{ #if: | ({{{Issue}}}) }} }}{{ #if: |: {{{At}}} }} |{{ #if: |{{ #if: |, }} Template:Citation/make link }}{{ #if: | ({{{TitleType}}}) }}{{ #if: |, {{{Series}}} }}{{ #if: |, {{{Volume}}} }}{{ #if: |, }}{{ #if: | ({{{Edition}}} ed.) }}{{ #if: |, {{{PublicationPlace}}} }}{{ #if: |{{ #if: |: |, }} {{{Publisher}}} }}
}}{{
#if: | |{{ #if: |, {{{Date}}}{{ #if: | [{{{YearNote}}}] }} }}
}}{{
#if: |{{ #ifeq: | | |{{ #if: |{{ #if: |, {{{PublicationDate}}} | (published {{{PublicationDate}}}) }} |{{ #if: |, {{{PublicationDate}}} | (published {{{PublicationDate}}}) }} }} }}
}}{{
#if: | |{{ #if: |, {{{At}}} }}
}}{{
- if:
|, Template:Citation/identifier
}}{{
#if: |{{ #if: |, {{{ID}}} |{{{ID}}} }}
}}{{
#if: |, Template:Citation/identifier
}}{{
#if: |, Template:Citation/identifier
}}{{
#if: |, Template:Citation/identifier
}}{{
#if: |, Template:Citation/identifier
}}{{
#if: |{{ #if: |, Template:Citation/identifier |Template:Only in print }}
}}{{
#if: |, Template:Citation/identifier
}}{{
- if:
|, {{{Archive}}} |{{
#if: |, {{#ifeq:{{{Sep}}}|.|A|a}}rchived{{ #if: |{{#if:| from Template:Citation/make link}} }}{{ #if: | on {{{ArchiveDate}}} }}{{ #if:{{#if:||A}}{{#if:||B}}{{#if:||C}} |. Template:Citation error }} }}
}}{{
#if: |{{ #if: |, {{ #if: |{{{IncludedWorkURL}}} |{{{URL}}} }} |, {{ #if: |{{{IncludedWorkURL}}} |{{{URL}}} }} }}{{ #if: | {{#ifeq:,|,|, r|. R}}etrieved {{{AccessDate}}} }}
}}{{#if:
|, [{{{laysummary}}} Lay summary]{{#if: | – {{{laysource}}}}}
}}{{#if:
| ({{{laydate}}})
}}{{#if:
|, "{{{quote}}}"
}} {{#ifeq:yesʝ|yesʝ |
|
}} This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the local /sandbox or your user space before changing anything here.