Cite web: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
(used new parameters "test" and "then" of {{if}} instead of "1=" and "2=" (this should have not changed the semantic of the code))
m (301 revisions imported)
 
(265 intermediate revisions by 94 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 03:47, 5 September 2020