Template:Cite web: Difference between revisions

    From Nonbinary Wiki
    m>Ligulem
    (copied from template:web reference)
    m>Ligulem
    (converting to lowercase params only)
    Line 1: Line 1:
    <cite style="font-style:normal;">{{qif
    <cite style="font-style:normal;">{{qif
       |test={{boolnand
       |test={{boolnand
           |1={{{URL|{{{url|}}}}}}
           |1={{{url|}}}
           |2={{{Title|{{{title|}}}}}}
           |2={{{title|}}}
         }}
         }}
       |then=[[Template:Web reference|Web reference]] error: Parameters '''url''' and '''title''' must be specified&#32;
       |then=[[Template:Web reference|Web reference]] error: Parameters '''url''' and '''title''' must be specified&#32;
    }}{{{Author|{{{author|}}}}}}{{qif
    }}{{{author|}}}{{qif
       |test={{{PublishYear|{{{publishyear|}}}}}}
       |test={{{publishyear|}}}
       |then=&#32;({{{PublishYear|{{{publishyear|}}}}}})
       |then=&#32;({{{publishyear|}}})
    }}{{qif
    }}{{qif
       |test={{boolor
       |test={{boolor
         |1={{{Author|{{{author|}}}}}}
         |1={{{author|}}}
         |2={{{PublishYear|{{{publishyear|}}}}}}}}
         |2={{{publishyear|}}}}}
       |then=.}}{{qif
       |then=.}}{{qif
       |test={{booland
       |test={{booland
         |1={{{URL|{{{url|}}}}}}
         |1={{{url|}}}
         |2={{{Title|{{{title|}}}}}}}}
         |2={{{title|}}}}}
       |then=&#32;[{{{URL|{{{url}}}}}} {{{Title|{{{title}}}}}}].
       |then=&#32;[{{{url}}} {{{title}}}].
    }}{{qif
    }}{{qif
       |test={{{format|{{{Format|}}}}}}
       |test={{{format|}}}
       |then=&#32;({{{Format|{{{format}}}}}})
       |then=&#32;({{{format|}}})
    }}{{qif
    }}{{qif
       |test={{{Work|{{{work|}}}}}}
       |test={{{work|}}}
       |then=&#32;''{{{Work|{{{work}}}}}}''.}}{{qif
       |then=&#32;''{{{work}}}''.}}{{qif
       |test={{{Publisher|{{{publisher|}}}}}}
       |test={{{publisher|}}}
       |then=&#32;{{{Publisher|{{{publisher}}}}}}.
       |then=&#32;{{{publisher}}}.
    }}{{qif
    }}{{qif
       |test={{{Date|{{{date|}}}}}}   
       |test={{{date|}}}   
       |then=&#32;URL accessed on [[{{{Date|{{{date}}}}}}]]{{qif
       |then=&#32;URL accessed on [[{{{date}}}]]{{qif
         |test={{{Year|{{{year|}}}}}}
         |test={{{year|}}}
         |then=, [[{{{Year|{{{year}}}}}}]]
         |then=, [[{{{year}}}]]
       }}
       }}
    }}.</cite><noinclude>
    }}.</cite><noinclude>

    Revision as of 09:31, 21 February 2006