Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
DOORS Site Logo

Welcome to the Official DOORS Wiki!
Please read the Wiki Rules the Manual of Style and familiarise yourself with our Wiki Policies before contributing to get a better understanding of what content is allowed on our wiki and how to display it properly, if you need help don't hesitate to reach out to a DOORS Wiki Staff Member.

Template:Cite web: Difference between revisions

Template page
No edit summary
 
(Updated all parameters, Wikipedia formatted.)
Line 1: Line 1:
<includeonly>{{
<includeonly>{{
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
||Error on call to [[Template:cite web]]: Parameters '''url''' and '''title''' must be specified
||Error on call to [[Template:Cite web]]: Parameters '''url''' and '''title''' must be specified
}}{{
}}{{
#if: {{{archiveurl|}}}{{{archivedate|}}}
#if: {{{archiveurl|}}}{{{archivedate|}}}
| {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
| {{#if: {{#if: {{{archive-url|}}}| {{#if: {{{archive-date|}}} |1}}}}
||Error on call to [[template:cite web]]: Parameters '''archiveurl''' and '''archivedate''' must be both specified or both omitted
||Error on call to [[Template:Cite web]]: Parameters '''archive-url''' and '''archive-date''' must be both specified or both omitted
}}
}}
}}{{#if: {{{author|}}}{{{last|}}}
}}{{#if: {{{author|}}}{{{last|}}}
| {{#if: {{{authorlink|}}}
| {{#if: {{{author-link|}}}
| [[{{{authorlink}}}|{{#if: {{{last|}}}
| [[{{{author-link}}}|{{#if: {{{last|}}}
| {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
| {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
| {{{author}}}
| {{{author}}}
Line 19: Line 19:
}}
}}
}}{{#if: {{{author|}}}{{{last|}}}
}}{{#if: {{{author|}}}{{{last|}}}
| {{#if: {{{coauthors|}}}| <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
| {{#if: {{{co-authors|}}}| <nowiki>;</nowiki>&#32;{{{co-authors}}} }}
}}{{#if: {{{author|}}}{{{last|}}}|
}}{{#if: {{{author|}}}{{{last|}}}|
{{#if: {{{date|}}}
{{#if: {{{date|}}}
Line 34: Line 34:
#if: {{{editor|}}}
#if: {{{editor|}}}
| &#32;{{{editor}}}:
| &#32;{{{editor}}}:
}}{{#if: {{{archiveurl|}}}
}}{{#if: {{{archive-url|}}}
| {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}}
| {{#if: {{{archive-url|}}} | {{#if: {{{title|}}} | [{{{archive-url}}} {{{title}}}] }}}}
| {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}}
| {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}}
}}{{#if: {{{language|}}} | &#32;<span style="font-size: 0.95em; font-weight: bold; color:#555; position: relative;">({{{language}}})</span>
}}{{#if: {{{language|}}} | &#32;<span style="font-size: 0.95em; font-weight: bold; color:#555; position: relative;">({{{language}}})</span>
Line 59: Line 59:
}}
}}
}}
}}
}}.{{#if: {{{archivedate|}}}
}}.{{#if: {{{archive-date|}}}
| &#32;Archived from [{{{url}}} the original] on {{#time:F j, Y|{{{archivedate}}}}}{{#if: {{{archiveyear|}}} | , {{{archiveyear}}} }}.
| &#32;Archived from [{{{url}}} the original] on {{#time:F j, Y|{{{archive-date}}}}}{{#if: {{{archive-year|}}} | , {{{archive-year}}} }}.
}}{{#if: {{{accessdate|}}}
}}{{#if: {{{access-date|}}}
| &#32;Retrieved on {{#time:F j, Y|{{{accessdate}}}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
| &#32;Retrieved on {{#time:F j, Y|{{{access-date}}}}}{{#if: {{{access-year|}}} | , {{{access-year}}} }}.
}}{{#if: {{{accessmonthday|}}}
}}{{#if: {{{access-monthday|}}}
| &#32;Retrieved on {{{accessmonthday}}}, {{{accessyear}}}.
| &#32;Retrieved on {{{access-monthday}}}, {{{access-year}}}.
}}{{#if: {{{accessdaymonth|}}}
}}{{#if: {{{access-daymonth|}}}
| &#32;Retrieved on {{{accessdaymonth}}} {{{accessyear}}}.
| &#32;Retrieved on {{{access-daymonth}}} {{{access-year}}}.
}}{{#if: {{{quote|}}}
}}{{#if: {{{quote|}}}
| &nbsp;“{{{quote}}}”
| &nbsp;“{{{quote}}}”
}}</includeonly><noinclude>{{documentation}}
}}</includeonly><noinclude>
</noinclude>
{{Documentation}}</noinclude>

Revision as of 19:41, 15 August 2022


{{#vardefine: base page |

   Template:Cite web
 

}}{{#vardefine: current page | Template:Cite web}}{{#vardefine: doc page |

 {{#var: base page}}/doc

}}{{#vardefine: namespace |

 Template

}}{{#vardefine: preload |

 Template:Documentation/preload&summary=Create+%2Fdoc+subpage+for+%5B%5B%7B%7B%23var%3A+base+page%7D%7D%5D%5D&editintro=Template:Documentation/editintro-doc

}}{{#vardefine: preload-sandbox |

 Template:Documentation/preload-sandbox&summary=Create+sandbox+subpage+for+experimenting+on+template+%5B%5B%7B%7B%23var%3A+base+page%7D%7D%5D%5D

}}{{#vardefine: sandbox |

 {{#var: base page}}/sandbox

}}{{#vardefine: page text |

 page

}}{{#vardefine: doc image |

  

}}

{{#var: doc image }}{{#var: page text}} Documentation[[[[:Template:Fullurl:]] create] | [[Special:Purge/{{#var: current page}}|purge]]]

The documentation for this {{#var: page text}} does not exist. Create it at [[[:Template:Fullurl:]] {{#var: doc page}}].

[[[:Template:Fullurl:]] Create documentation] for this template.
Editors can experiment in this {{#var: page text}}'s sandbox ([[[:Template:Fullurl:]] create] | [[[:Template:Fullurl:]] mirror]) page.
[[Special:PrefixIndex/{{#var: current page}}|Subpages of this {{#var: page text}}]].