Revision as of 21:37, 23 November 2005 view sourceLigulem (talk | contribs)Autopatrolled, Pending changes reviewers, Rollbackers28,245 editsm line 18: indented closing "}}" by one level as this refers to "{{boolor" on line 15 (warning: cannot be seen in diff)← Previous edit | Revision as of 00:41, 25 November 2005 view source Ligulem (talk | contribs)Autopatrolled, Pending changes reviewers, Rollbackers28,245 edits used new parameters "test" and "then" of {{if}} instead of "1=" and "2=" (this should have not changed the semantic of the code)Next edit → | ||
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=. | ||
}}{{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 ] | ||
}} {{if | }} {{if | ||
| |
|test={{{Year|{{{year|}}}}}} | ||
| |
|then=] | ||
}}.<noinclude> | }}.<noinclude> | ||
{{esoteric}} | {{esoteric}} |
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}}}|}}.
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |