Template:Cite web: Difference between revisions

From All Skies Encyclopaedia
imported>Ligulem
(used new parameters "test" and "then" of {{if}} instead of "1=" and "2=" (this should have not changed the semantic of the code))
(Created page with "<includeonly>{{#invoke:citation/CS1|citation |CitationClass=web }}</includeonly><noinclude> {{documentation}} </noinclude>")
 
(265 intermediate revisions by 94 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:citation/CS1|citation
{{if
|CitationClass=web
|test={{boolnand
}}</includeonly><noinclude>
|1={{booland
{{documentation}}
|1={{{URL|{{{url|}}}}}
|2={{{Title|{{{title|}}}}}}
}}
|2={{{Date|{{{date|}}}}}}
}}
|then={{tl|web reference}}: Parameter '''url''', '''title''' and '''date''' must be specified
}}{{{Author|{{{author|}}}}}}{{if
|test={{{PublishYear|{{{publishyear|}}}}}}
|then=&nbsp;({{{PublishYear|{{{publishyear|}}}}}})
}}{{if
|test={{boolor
|1={{{Author|{{{author|}}}}}}
|2={{{PublishYear|{{{publishyear|}}}}}}
}}
|then=.&nbsp;
}}{{if
|test={{booland
|1={{{URL|{{{url|}}}}}}
|2={{{Title|{{{title|}}}}}}
}}
|then=[{{{URL|{{{url}}}}}} {{{Title|{{{title}}}}}}].&nbsp;
}}{{if
|test={{{format|{{{Format|}}}}}}
|then=&nbsp;({{{Format|{{{format}}}}}})
}}{{if
|test={{{Work|{{{work|}}}}}}
|then=''{{{Work|{{{work}}}}}}''.
}}&nbsp;{{if
|test={{{Publisher|{{{publisher|}}}}}}
|then={{{Publisher|{{{publisher}}}}}}.
}} {{if
|test={{{Date|{{{date|}}}}}}
|then=URL accessed on [[{{{Date|{{{date}}}}}}]]
}} {{if
|test={{{Year|{{{year|}}}}}}
|then=[[{{{Year|{{{year}}}}}}]]
}}.<noinclude>
{{esoteric}}
</noinclude>
</noinclude>

Latest revision as of 12:01, 1 February 2025

  1. Compare archived talk page.