Operácie

Šablóna

Cite web: Rozdiel medzi revíziami

Zo stránky SensorWiki

Balogh (diskusia | príspevky)
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…“
 
Balogh (diskusia | príspevky)
Bez shrnutí editace
Riadok 1: Riadok 1:
<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 [[Template:Cite web/testcases|testcases subpage]].}}</noinclude>{{#if: {{#if:{{{url|}}} | {{#if:{{{title|}}}|1}}}}
{{#if: {{#if:{{{url|}}} | {{#if:{{{title|}}}|1}}}}
  |
|
  |<font style="color:red; font-size:medium">'''Error: title= and url= must be specified'''</font>
|<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}}}}
|{{#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>
|<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|}}}
|{{#if:{{{authorlink|}}}
      |[[{{{authorlink}}} | {{#if:{{{last|}}}
|[[{{{authorlink}}} | {{#if:{{{last|}}}
          |{{{last}}}{{#if:{{{first|}}}|, {{{first}}}}}
|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}}}
          |{{{author}}}
|{{{author}}}
          }}]]
}}]]
      |{{#if:{{{last|}}}
|{{#if:{{{last|}}}
          |{{{last}}}{{#if:{{{first|}}}|, {{{first}}}}}
|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}}}
          |{{{author}}}
|{{{author}}}
        }}
}}
    }}
}}
}}{{#if:{{{author|}}}{{{last|}}}
}}{{#if:{{{author|}}}{{{last|}}}
    |{{#if:{{{coauthors|}}}|<nowiki>;</nowiki> {{{coauthors}}} }}{{#if:{{{editorlink|}}}{{{editor-link|}}}
|{{#if:{{{coauthors|}}}|<nowiki>;</nowiki> {{{coauthors}}} }}{{#if:{{{editorlink|}}}{{{editor-link|}}}
      |{{#if:{{{editor|}}}
|{{#if:{{{editor|}}}
          |<nowiki>;</nowiki> [[{{{editorlink|{{{editor-link}}}}}} | {{{editor}}}]]
|<nowiki>;</nowiki> [[{{{editorlink|{{{editor-link}}}}}} | {{{editor}}}]]
          |<nowiki>;</nowiki> [[{{{editorlink|{{{editor-link}}}}}} | {{{editor-last}}}, {{{editor-first}}}]]
|<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|}}}|&#32;Retrieved on {{{accessdaymonth}}} {{{accessyear}}}
}}{{#if:{{{accessdaymonth|}}}|&#32;Retrieved on {{{accessdaymonth}}} {{{accessyear}}}
}}{{#if:{{{postscript|}}}
}}{{#if:{{{postscript|}}}
    |{{#ifeq:{{{postscript}}}|no||{{{postscript}}} }}
|{{#ifeq:{{{postscript}}}|no||{{{postscript}}} }}
    |.
|.
}}{{#if:{{{quote|}}}|&#32;"{{{quote}}}"}}<noinclude>
}}{{#if:{{{quote|}}}|&#32;"{{{quote}}}"}}
 
[[Category:Sandbox templates]]
</noinclude>

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}}}"}}