Template:Cite web: Difference between revisions
converting to lowercase params only
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= | |1={{{url|}}} | ||
|2= | |2={{{title|}}} | ||
}} | }} | ||
|then=[[Template:Web reference|Web reference]] error: Parameters '''url''' and '''title''' must be specified  | |then=[[Template:Web reference|Web reference]] error: Parameters '''url''' and '''title''' must be specified  | ||
}} | }}{{{author|}}}{{qif | ||
|test= | |test={{{publishyear|}}} | ||
|then= ( | |then= ({{{publishyear|}}}) | ||
}}{{qif | }}{{qif | ||
|test={{boolor | |test={{boolor | ||
|1= | |1={{{author|}}} | ||
|2= | |2={{{publishyear|}}}}} | ||
|then=.}}{{qif | |then=.}}{{qif | ||
|test={{booland | |test={{booland | ||
|1= | |1={{{url|}}} | ||
|2= | |2={{{title|}}}}} | ||
|then= [ | |then= [{{{url}}} {{{title}}}]. | ||
}}{{qif | }}{{qif | ||
|test={{{format| | |test={{{format|}}} | ||
|then= ({{{ | |then= ({{{format|}}}) | ||
}}{{qif | }}{{qif | ||
|test= | |test={{{work|}}} | ||
|then= '' | |then= ''{{{work}}}''.}}{{qif | ||
|test= | |test={{{publisher|}}} | ||
|then=  | |then= {{{publisher}}}. | ||
}}{{qif | }}{{qif | ||
|test= | |test={{{date|}}} | ||
|then= URL accessed on [[ | |then= URL accessed on [[{{{date}}}]]{{qif | ||
|test= | |test={{{year|}}} | ||
|then=, [[ | |then=, [[{{{year}}}]] | ||
}} | }} | ||
}}.</cite><noinclude> | }}.</cite><noinclude> |