Difference between revisions of "Template:Cite web"

MyWikiBiz, Author Your Legacy — Saturday November 16, 2024
Jump to navigationJump to search
(made change per talk request)
 
m (1 revision(s))
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{
 
<includeonly>{{
 
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
 
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
   ||<div style="border:1px solid red; background-color:#ffdab9; display:table;">
+
   ||You must specify  '''''title = ''''' and '''''url = ''''' when using {{[[Template:cite web|cite web]]}}.
You must specify  '''''title = ''''' and '''''url = ''''' when using {{tl|cite web}}. Available parameters:
+
{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}
{{Cite web/doc/parameterlist}}
 
</div>
 
[[Category:Articles with broken citations]]
 
 
}}{{
 
}}{{
 
#if: {{{archiveurl|}}}{{{archivedate|}}}  
 
#if: {{{archiveurl|}}}{{{archivedate|}}}  
 
   | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
 
   | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
     ||<div style="border:1px solid red; background-color:#ffdab9; display:table;">
+
     ||You must specify '''''archiveurl = ''''' and '''''archivedate = ''''' when using {{[[Template:cite web|cite web]]}}.
You must specify '''''archiveurl=''''' and '''''archivedate=''' when using {{tl|cite web}}. Available parameters:
+
{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}
{{Cite web/doc/parameterlist}}
 
</div>
 
[[Category:Articles with broken citations]]
 
 
}}
 
}}
 
}}{{#if: {{{author|}}}{{{last|}}}
 
}}{{#if: {{{author|}}}{{{last|}}}
Line 30: Line 24:
 
}}{{#if: {{{author|}}}{{{last|}}}|
 
}}{{#if: {{{author|}}}{{{last|}}}|
 
     {{#if: {{{date|}}}
 
     {{#if: {{{date|}}}
     | &#32;({{{date}}})
+
     | &#32;({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|[[{{{date}}}]]|{{{date}}}}})
 
     | {{#if: {{{year|}}}
 
     | {{#if: {{{year|}}}
 
       | {{#if: {{{month|}}}
 
       | {{#if: {{{month|}}}
Line 58: Line 52:
 
}}{{#if: {{{author|}}}{{{last|}}}
 
}}{{#if: {{{author|}}}{{{last|}}}
 
   ||{{#if: {{{date|}}}
 
   ||{{#if: {{{date|}}}
     | &#32;({{{date}}})
+
     | &#32;({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|[[{{{date}}}]]|{{{date}}}}})
 
     | {{#if: {{{year|}}}
 
     | {{#if: {{{year|}}}
 
       | {{#if: {{{month|}}}
 
       | {{#if: {{{month|}}}
Line 73: Line 67:
 
   | &#32;Retrieved on [[{{{accessdate}}}]]{{#if: {{{accessyear|}}} | , [[{{{accessyear}}}]] }}.
 
   | &#32;Retrieved on [[{{{accessdate}}}]]{{#if: {{{accessyear|}}} | , [[{{{accessyear}}}]] }}.
 
}}{{#if: {{{accessmonthday|}}}
 
}}{{#if: {{{accessmonthday|}}}
   | &#32;Retrieved on {{{accessmonthday}}}, {{{accessyear}}}.
+
   | &#32;Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , [[{{{accessyear}}}]] }}.
 
}}{{#if: {{{accessdaymonth|}}}
 
}}{{#if: {{{accessdaymonth|}}}
   | &#32;Retrieved on {{{accessdaymonth}}} {{{accessyear}}}.
+
   | &#32;Retrieved on {{{accessdaymonth}}}{{#if: {{{accessyear|}}} | , [[{{{accessyear}}}]] }}.
 
}}{{#if: {{{quote|}}}  
 
}}{{#if: {{{quote|}}}  
 
   | &nbsp;“{{{quote}}}”
 
   | &nbsp;“{{{quote}}}”
}}</includeonly><noinclude>{{template doc}}</noinclude>
+
}}</includeonly><noinclude>{{pp-template}}{{template doc}}</noinclude>

Revision as of 19:31, 20 March 2008