Template:Cite web: Difference between revisions
From Vigyanwiki
Template>Phil Boswell (removing extraneous full-stop: there's one too many somewhere) |
Template>Phil Boswell (transplant {{{author}}} handling from {{cite book}}) |
||
Line 5: | Line 5: | ||
}} | }} | ||
|then=Error on call to [[template:cite web]]: Parameters '''url''' and '''title''' must be specified  | |then=Error on call to [[template:cite web]]: Parameters '''url''' and '''title''' must be specified  | ||
}}</includeonly>{{{author|}}}{{qif | }}</includeonly>{{qif | ||
|test={{{author|{{{last|}}}}}} | |||
|then={{qif | |||
|test={{{authorlink|}}} | |||
|then=[[{{{authorlink}}}|{{qif | |||
|test={{{last|}}} | |||
|then={{{last}}}{{qif | |||
|test={{{first|}}} | |||
|then=, {{{first}}} | |||
}} | |||
|else={{{author}}} | |||
}}]] | |||
|else={{qif | |||
|test={{{last|}}} | |||
|then={{{last}}}{{qif | |||
|test={{{first|}}} | |||
|then=, {{{first}}} | |||
}} | |||
|else={{{author}}} | |||
}} | |||
}} | |||
}}{{qif | |||
|test={{{author|{{{last|}}}}}} | |||
|then={{qif | |||
|test={{{coauthors|}}} | |||
|then=, {{{coauthors}}} | |||
}} | |||
}}{{qif | |||
|test={{{year|}}} | |test={{{year|}}} | ||
|then= ({{{year|}}}) | |then= ({{{year|}}}) |
Revision as of 20:07, 2 March 2006
Template:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:Qif This template is a simpler replacement for template:web reference. It provides lower case parameters only.
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. |