Template:Cite web: Difference between revisions

From Vigyanwiki
Template>Ligulem
(reverted to revision as of 08:53. See talk (I would like to discuss revision 11:07 first before applying it))
Template>AzaToth
(reverted to my proposal, but removed unneccissary paramaters as per consensus. parameters still on 'url' because it can often include '=')
Line 1: Line 1:
{{{Author|{{{author|}}}}}}{{if
{{{Author|{{{author|}}}}}}{{if
|{{{PublishYear|{{{publishyear|}}}}}}
  |{{{PublishYear|{{{publishyear|}}}}}}
| ({{{PublishYear|{{{publishyear}}}}}})}}{{if
  | ({{{PublishYear|{{{publishyear|}}}}}})
|{{{author|{{{Author|{{{PublishYear|{{{publishyear|}}}}}}}}}}}}
}}{{if
|. }}[{{{URL|{{{url}}}}}} {{{Title|{{{title}}}}}}]. {{if
  |{{boolor
|{{{Format|{{{format|}}}}}}
    |{{{Author|{{{author|}}}}}}
| ({{{Format|{{{format}}}}}})}}{{if
    |{{{PublishYear|{{{publishyear|}}}}}}
|{{{Work|{{{work|}}}}}}
}}
|''{{{Work|{{{work}}}}}}''.}} {{if
  |. 
|{{{Publisher|{{{publisher|}}}}}}
}}{{if
|{{{Publisher|{{{publisher}}}}}}.}} URL accessed on [[{{{Date|{{{date}}}}}}]]{{if|{{{Year|{{{year|}}}}}}|[[{{{Year|{{{year}}}}}}]]}}.<noinclude>
  |1={{boolnand
    |1={{{URL|{{{url|}}}}}}
    |2={{{Title|{{{title|}}}}}}
  }}
  |2=parameter '''url''' and '''title''' is required!
  |3=[{{{URL|{{{url}}}}}} {{{Title|{{{title}}}}}}].&nbsp;
}}{{if
  |{{{format|{{{Format|}}}}}}
  |&nbsp;({{{Format|{{{format}}}}}})
}}{{if
  |{{{Work|{{{work|}}}}}}
  |''{{{Work|{{{work}}}}}}''.
}}&nbsp;{{if
  |{{{Publisher|{{{publisher|}}}}}}
  |{{{Publisher|{{{publisher}}}}}}.
}} URL accessed on [[{{{Date|{{{date}}}}}}]] {{if
  |{{{Year|{{{year|}}}}}}
  |[[{{{Year|{{{year}}}}}}]]
}}.<noinclude>
{{esoteric}}
{{esoteric}}
</noinclude>
</noinclude>

Revision as of 23:42, 23 November 2005

{{ safesubst:p{{ safesubst:#if

 : ()

|1|2}}|{{{3}}}|}}{{ safesubst:p{{ safesubst:#ifTemplate:Boolor

 :. 

|1|2}}|{{{3}}}|}}{{ safesubst:p{{ safesubst:#ifTemplate:Boolnand:parameter url and title is required!|1|2}}|[{{{url}}} {{{title}}}]. |}}{{ safesubst:p{{ safesubst:#if

 : ({{{format}}})

|1|2}}|{{{3}}}|}}{{ safesubst:p{{ safesubst:#if

 :{{{work}}}.

|1|2}}|{{{3}}}|}} {{ safesubst:p{{ safesubst:#if

 :{{{publisher}}}.

|1|2}}|{{{3}}}|}} URL accessed on [[{{{date}}}]] {{ safesubst:p{{ safesubst:#if

 :[[{{{year}}}]]

|1|2}}|{{{3}}}|}}.