Template:Cite web: Difference between revisions
From Vigyanwiki
Template>Fuhghettaboutit m (Changed protection level of Template:Cite web: when I changed this to add template editors, I didn't realize it had cascding protection—so all my change did was make it appear as if it could be edited by them ([Edit=Allow only administrators] (indefi...) |
Template>Anthony Appleyard m (Anthony Appleyard moved page Template:Web reference to Template:Template:Cite web: histmerge) |
||
Line 1: | Line 1: | ||
< | <cite style="font-style:normal;">{{qif | ||
| | |test={{boolnand | ||
}}</ | |1={{{URL|{{{url|}}}}}} | ||
{{ | |2={{{Title|{{{title|}}}}}} | ||
}} | |||
|then=[[Template:Web reference|Web reference]] error: Parameters '''url''' and '''title''' must be specified  | |||
}}{{{Author|{{{author|}}}}}}{{qif | |||
|test={{{PublishYear|{{{publishyear|}}}}}} | |||
|then= ({{{PublishYear|{{{publishyear|}}}}}}) | |||
}}{{qif | |||
|test={{boolor | |||
|1={{{Author|{{{author|}}}}}} | |||
|2={{{PublishYear|{{{publishyear|}}}}}}}} | |||
|then=.}}{{qif | |||
|test={{booland | |||
|1={{{URL|{{{url|}}}}}} | |||
|2={{{Title|{{{title|}}}}}}}} | |||
|then= [{{{URL|{{{url}}}}}} {{{Title|{{{title}}}}}}]. | |||
}}{{qif | |||
|test={{{format|{{{Format|}}}}}} | |||
|then= ({{{Format|{{{format}}}}}}) | |||
}}{{qif | |||
|test={{{Work|{{{work|}}}}}} | |||
|then= ''{{{Work|{{{work}}}}}}''.}}{{qif | |||
|test={{{Publisher|{{{publisher|}}}}}} | |||
|then= {{{Publisher|{{{publisher}}}}}}. | |||
}}{{qif | |||
|test={{{Date|{{{date|}}}}}} | |||
|then= URL accessed on [[{{{Date|{{{date}}}}}}]]{{qif | |||
|test={{{Year|{{{year|}}}}}} | |||
|then=, [[{{{Year|{{{year}}}}}}]] | |||
}} | |||
}}.</cite><noinclude> | |||
{{esoteric}} | |||
[[Category:Citation templates|{{PAGENAME}}]] | |||
</noinclude> | </noinclude> |
Revision as of 05:29, 5 December 2016
Template:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:Qif.
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. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |