Template:Cite web: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Ligulem
used new parameters "test" and "then" of {{if}} instead of "1=" and "2=" (this should have not changed the semantic of the code)
Ookami (talk | contribs)
m 300 revisions imported
 
(267 intermediate revisions by 96 users not shown)
Line 1: Line 1:
{{if
<includeonly>{{#invoke:citation/CS1|citation
  |test={{boolnand
|CitationClass=web
    |1={{booland
}}</includeonly><noinclude>
      |1={{{URL|{{{url|}}}}}
{{documentation}}
      |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 15:24, 1 September 2020