Template:Cite web: Difference between revisions
m>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...) |
m>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> |