Template:Cite web: Difference between revisions

    From Nonbinary Wiki
    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:
    <includeonly>{{#invoke:citation/CS1|citation
    <cite style="font-style:normal;">{{qif
    |CitationClass=web
      |test={{boolnand
    }}</includeonly><noinclude>
          |1={{{URL|{{{url|}}}}}}
    {{documentation}}
          |2={{{Title|{{{title|}}}}}}
        }}
      |then=[[Template:Web reference|Web reference]] error: Parameters '''url''' and '''title''' must be specified&#32;
    }}{{{Author|{{{author|}}}}}}{{qif
      |test={{{PublishYear|{{{publishyear|}}}}}}
      |then=&#32;({{{PublishYear|{{{publishyear|}}}}}})
    }}{{qif
      |test={{boolor
        |1={{{Author|{{{author|}}}}}}
        |2={{{PublishYear|{{{publishyear|}}}}}}}}
      |then=.}}{{qif
      |test={{booland
        |1={{{URL|{{{url|}}}}}}
        |2={{{Title|{{{title|}}}}}}}}
      |then=&#32;[{{{URL|{{{url}}}}}} {{{Title|{{{title}}}}}}].
    }}{{qif
      |test={{{format|{{{Format|}}}}}}
      |then=&#32;({{{Format|{{{format}}}}}})
    }}{{qif
      |test={{{Work|{{{work|}}}}}}
      |then=&#32;''{{{Work|{{{work}}}}}}''.}}{{qif
      |test={{{Publisher|{{{publisher|}}}}}}
      |then=&#32;{{{Publisher|{{{publisher}}}}}}.
    }}{{qif
      |test={{{Date|{{{date|}}}}}} 
      |then=&#32;URL accessed on [[{{{Date|{{{date}}}}}}]]{{qif
        |test={{{Year|{{{year|}}}}}}
        |then=, [[{{{Year|{{{year}}}}}}]]
      }}
    }}.</cite><noinclude>
    {{esoteric}}
    [[Category:Citation templates|{{PAGENAME}}]]
    </noinclude>
    </noinclude>

    Revision as of 23:59, 4 December 2016