Cite web: Rozdiel medzi revíziami
Zo stránky SensorWiki
|  Vytvorená stránka „<noinclude>{{mbox|type=notice|text=This is the {{w|Wikipedia:About the Sandbox|sandbox}} for {{tl|Cite web}}. The template in this sandbox can be tested on the Templat…“ | Bez shrnutí editace | ||
| Riadok 1: | Riadok 1: | ||
| {{#if: {{#if:{{{url|}}} | {{#if:{{{title|}}}|1}}}} | |||
| | | |||
| |<font style="color:red; font-size:medium">'''Error: title= and url= must be specified'''</font> | |||
| }}{{#if: {{{archiveurl|}}}{{{archivedate|}}}   | }}{{#if: {{{archiveurl|}}}{{{archivedate|}}}   | ||
| |{{#if: {{#if:{{{archiveurl|}}}|{{#if:{{{archivedate|}}}|1}}}} | |||
| | | |||
| |<font style="color:red; font-size:medium">'''Error: archiveurl= and archivedate= must be both be specified or both omitted'''</font> | |||
| }} | |||
| }}{{#if:{{{author|}}}{{{last|}}} | }}{{#if:{{{author|}}}{{{last|}}} | ||
| |{{#if:{{{authorlink|}}} | |||
| |[[{{{authorlink}}} | {{#if:{{{last|}}} | |||
| |{{{last}}}{{#if:{{{first|}}}|, {{{first}}}}} | |||
| |{{{author}}} | |||
| }}]] | |||
| |{{#if:{{{last|}}} | |||
| |{{{last}}}{{#if:{{{first|}}}|, {{{first}}}}} | |||
| |{{{author}}} | |||
| }} | |||
| }} | |||
| }}{{#if:{{{author|}}}{{{last|}}} | }}{{#if:{{{author|}}}{{{last|}}} | ||
| |{{#if:{{{coauthors|}}}|<nowiki>;</nowiki> {{{coauthors}}} }}{{#if:{{{editorlink|}}}{{{editor-link|}}} | |||
| |{{#if:{{{editor|}}} | |||
| |<nowiki>;</nowiki> [[{{{editorlink|{{{editor-link}}}}}} | {{{editor}}}]] | |||
| |<nowiki>;</nowiki> [[{{{editorlink|{{{editor-link}}}}}} | {{{editor-last}}}, {{{editor-first}}}]] | |||
| }} | |||
|         |{{#if:{{{editor|}}}{{{editor-last|}}} |         |{{#if:{{{editor|}}}{{{editor-last|}}} | ||
|            |{{#if:{{{editor|}}} |            |{{#if:{{{editor|}}} | ||
| Riadok 78: | Riadok 78: | ||
| }}{{#if:{{{accessdaymonth|}}}| Retrieved on {{{accessdaymonth}}} {{{accessyear}}} | }}{{#if:{{{accessdaymonth|}}}| Retrieved on {{{accessdaymonth}}} {{{accessyear}}} | ||
| }}{{#if:{{{postscript|}}} | }}{{#if:{{{postscript|}}} | ||
| |{{#ifeq:{{{postscript}}}|no||{{{postscript}}} }} | |||
| |. | |||
| }}{{#if:{{{quote|}}}| "{{{quote}}}"}} | }}{{#if:{{{quote|}}}| "{{{quote}}}"}} | ||
Verzia z 08:25, 15. jún 2021
{{#if: {{#if: | {{#if:|1}}}} | |Error: title= and url= must be specified }}{{#if: |{{#if: {{#if:|{{#if:|1}}}} | |Error: archiveurl= and archivedate= must be both be specified or both omitted }} }}{{#if: |{{#if: |[[{{{authorlink}}} | {{#if: |{{{last}}}{{#if:|, {{{first}}}}} |{{{author}}} }}]] |{{#if: |{{{last}}}{{#if:|, {{{first}}}}} |{{{author}}} }} }} }}{{#if: |{{#if:|; {{{coauthors}}} }}{{#if: |{{#if: |; [[{{{editor-link}}} | {{{editor}}}]] |; [[{{{editor-link}}} | {{{editor-last}}}, {{{editor-first}}}]] }}
      |{{#if:
         |{{#if:
            |; {{{editor}}}
            |; {{{editor-last}}}, {{{editor-first}}}
          }}
       }}
    }}{{#if:|; {{{coeditors}}} }}{{#if:
      |, {{{editor-type}}}
      |{{#if:
         |{{#if:|, eds.|, ed.}}
       }}
   }}
}}{{#if:
   |{{#if:
      | ({{{date}}})
      |{{#if:
         |{{#if:
            | ({{{month}}} {{{year}}})
            | ({{{year}}})
          }}
       }}
    }}
   |
}}{{#if:|. }}{{#if:
   |{{#if:
      |{{#if: | [{{{archiveurl}}} {{{title}}}] }}
    }}
   |{{#if:
      |{{#if: | [{{{url}}} {{{title}}}] }}
    }}
}}{{#if: | (in {{{language}}}) }}{{#if:| () }}{{#if:|. {{{work}}} }}{{#if:| {{{pages}}} }}{{#if:
   |. {{{publisher}}}{{#if:
     | 
     |{{#if:||}}
   }}
}}{{#if:
   |
   |{{#if:
      | ({{{date}}})
      |{{#if:
         |{{#if:
            | ({{{month}}} {{{year}}})
            | ({{{year}}})
          }}
       }}
    }}
}}{{#if:|. Archived from [{{{url}}} the original] on {{{archivedate}}} }}{{#if:|. Retrieved on {{{accessdate}}} }}{{#if:| Retrieved on {{{accessmonthday}}}, {{{accessyear}}} }}{{#if:| Retrieved on {{{accessdaymonth}}} {{{accessyear}}} }}{{#if: |{{#ifeq:{{{postscript}}}|no||{{{postscript}}} }} |. }}{{#if:| "{{{quote}}}"}}