Template:Cite web: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Ligulem m line 18: indented closing "}}" by one level as this refers to "{{boolor" on line 15 (warning: cannot be seen in diff) |
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) |
||
Line 1: | Line 1: | ||
{{if | {{if | ||
| | |test={{boolnand | ||
|1={{booland | |1={{booland | ||
|1={{{URL|{{{url|}}}}} | |1={{{URL|{{{url|}}}}} | ||
Line 7: | Line 7: | ||
|2={{{Date|{{{date|}}}}}} | |2={{{Date|{{{date|}}}}}} | ||
}} | }} | ||
| | |then={{tl|web reference}}: Parameter '''url''', '''title''' and '''date''' must be specified | ||
}}{{{Author|{{{author|}}}}}}{{if | }}{{{Author|{{{author|}}}}}}{{if | ||
| | |test={{{PublishYear|{{{publishyear|}}}}}} | ||
| | |then= ({{{PublishYear|{{{publishyear|}}}}}}) | ||
}}{{if | }}{{if | ||
| | |test={{boolor | ||
|1={{{Author|{{{author|}}}}}} | |1={{{Author|{{{author|}}}}}} | ||
|2={{{PublishYear|{{{publishyear|}}}}}} | |2={{{PublishYear|{{{publishyear|}}}}}} | ||
}} | }} | ||
| | |then=. | ||
}}{{if | }}{{if | ||
| | |test={{booland | ||
|1={{{URL|{{{url|}}}}}} | |1={{{URL|{{{url|}}}}}} | ||
|2={{{Title|{{{title|}}}}}} | |2={{{Title|{{{title|}}}}}} | ||
}} | }} | ||
| | |then=[{{{URL|{{{url}}}}}} {{{Title|{{{title}}}}}}]. | ||
}}{{if | }}{{if | ||
| | |test={{{format|{{{Format|}}}}}} | ||
| | |then= ({{{Format|{{{format}}}}}}) | ||
}}{{if | }}{{if | ||
| | |test={{{Work|{{{work|}}}}}} | ||
| | |then=''{{{Work|{{{work}}}}}}''. | ||
}} {{if | }} {{if | ||
| | |test={{{Publisher|{{{publisher|}}}}}} | ||
| | |then={{{Publisher|{{{publisher}}}}}}. | ||
}} {{if | }} {{if | ||
| | |test={{{Date|{{{date|}}}}}} | ||
| | |then=URL accessed on [[{{{Date|{{{date}}}}}}]] | ||
}} {{if | }} {{if | ||
| | |test={{{Year|{{{year|}}}}}} | ||
| | |then=[[{{{Year|{{{year}}}}}}]] | ||
}}.<noinclude> | }}.<noinclude> | ||
{{esoteric}} | {{esoteric}} | ||
</noinclude> | </noinclude> |
Revision as of 00:41, 25 November 2005
{{ safesubst:p{{ safesubst:#if{{{1}}}:{{{2}}}|1|2}}|{{{3}}}|}}{{ safesubst:p{{ safesubst:#if{{{1}}}:{{{2}}}|1|2}}|{{{3}}}|}}{{ safesubst:p{{ safesubst:#if{{{1}}}:{{{2}}}|1|2}}|{{{3}}}|}}{{ safesubst:p{{ safesubst:#if{{{1}}}:{{{2}}}|1|2}}|{{{3}}}|}}{{ safesubst:p{{ safesubst:#if{{{1}}}:{{{2}}}|1|2}}|{{{3}}}|}}{{ safesubst:p{{ safesubst:#if{{{1}}}:{{{2}}}|1|2}}|{{{3}}}|}} {{ safesubst:p{{ safesubst:#if{{{1}}}:{{{2}}}|1|2}}|{{{3}}}|}} {{ safesubst:p{{ safesubst:#if{{{1}}}:{{{2}}}|1|2}}|{{{3}}}|}} {{ safesubst:p{{ safesubst:#if{{{1}}}:{{{2}}}|1|2}}|{{{3}}}|}}. Template:Esoteric