Template:Cite web: Difference between revisions

From Vigyanwiki
Template>AzaToth
(reverted to my proposal, but removed unneccissary paramaters as per consensus. parameters still on 'url' because it can often include '=')
Template>AzaToth
(ok, back with the numbers :) plus some other)
Line 1: Line 1:
{{{Author|{{{author|}}}}}}{{if
{{if
   |{{{PublishYear|{{{publishyear|}}}}}}
  |1={{boolnand
   | ({{{PublishYear|{{{publishyear|}}}}}})
    |1={{booland
      |1={{{URL|{{{url|}}}}}
      |2={{{Title|{{{title|}}}}}}
    }}
    |2={{{Date|{{{date|}}}}}}
  }}
  |2=Parameter '''url''', '''title''' and '''date''' must be specified
}}{{{Author|{{{author|}}}}}}{{if
   |1={{{PublishYear|{{{publishyear|}}}}}}
   |2= ({{{PublishYear|{{{publishyear|}}}}}})
}}{{if
}}{{if
   |{{boolor
   |1={{boolor
     |{{{Author|{{{author|}}}}}}
     |1={{{Author|{{{author|}}}}}}
     |{{{PublishYear|{{{publishyear|}}}}}}
     |2={{{PublishYear|{{{publishyear|}}}}}}
}}
}}
   |. 
   |2=. 
}}{{if
}}{{if
   |1={{boolnand
   |1={{booland
     |1={{{URL|{{{url|}}}}}}
     |1={{{URL|{{{url|}}}}}}
     |2={{{Title|{{{title|}}}}}}
     |2={{{Title|{{{title|}}}}}}
   }}
   }}
   |2=parameter '''url''' and '''title''' is required!
   |2=[{{{URL|{{{url}}}}}} {{{Title|{{{title}}}}}}]. 
  |3=[{{{URL|{{{url}}}}}} {{{Title|{{{title}}}}}}]. 
}}{{if
}}{{if
   |{{{format|{{{Format|}}}}}}
   |1={{{format|{{{Format|}}}}}}
   | ({{{Format|{{{format}}}}}})
   |2= ({{{Format|{{{format}}}}}})
}}{{if
}}{{if
   |{{{Work|{{{work|}}}}}}
   |1={{{Work|{{{work|}}}}}}
   |''{{{Work|{{{work}}}}}}''.
   |2=''{{{Work|{{{work}}}}}}''.
}} {{if
}} {{if
   |{{{Publisher|{{{publisher|}}}}}}
   |1={{{Publisher|{{{publisher|}}}}}}
   |{{{Publisher|{{{publisher}}}}}}.
   |2={{{Publisher|{{{publisher}}}}}}.
}} URL accessed on [[{{{Date|{{{date}}}}}}]] {{if
}} {{if
   |{{{Year|{{{year|}}}}}}
  |1={{{Date|{{{date|}}}}}}
   |[[{{{Year|{{{year}}}}}}]]
  |2=URL accessed on [[{{{Date|{{{date}}}}}}]]
}}.<noinclude>
}} {{if
   |1={{{Year|{{{year|}}}}}}
   |2=[[{{{Year|{{{year}}}}}}]]
  }}.<noinclude>
{{esoteric}}
{{esoteric}}
</noinclude>
</noinclude>

Revision as of 01:08, 24 November 2005

{{ safesubst:p{{ safesubst:#ifTemplate:Boolnand:Parameter url, title and date must be specified|1|2}}|{{{3}}}|}}{{{3}}}{{ safesubst:p{{ safesubst:#ifTemplate:Boolor:. |1|2}}|{{{3}}}|}}{{ safesubst:p{{ safesubst:#ifTemplate:Booland:[{{{url}}} {{{title}}}]. |1|2}}|{{{3}}}|}}{{{3}}}{{{3}}} {{{3}}} {{{3}}} {{{3}}}.