Difference between revisions of "Template:Cite DGRC"

From blackwiki
Jump to navigation Jump to search
imported>El santacruzano
imported>Trappist the monk
(sync from sandbox;)
 
Line 1: Line 1:
<!--
+
{{#if:{{{noicon|}}}||{{#if:{{{wstitle|}}}||[[File:PD-icon.svg|12px|link=]]&nbsp;}}}}<!--
optional icon - included by default
 
-->{{#if:{{{noicon|}}}||[[Image:{{#if:{{{title|}}}|PD-icon.svg|wikisource-logo.svg}}|12px|link=]]&nbsp;}}<!--
 
 
  optional verbatim message - not included by default
 
  optional verbatim message - not included by default
 
-->{{#if:{{{vb|}}}|This article incorporates text from a publication now in the [[public domain]]:&nbsp;|}}<!--
 
-->{{#if:{{{vb|}}}|This article incorporates text from a publication now in the [[public domain]]:&nbsp;|}}<!--
Line 8: Line 6:
 
   or wstitle= to link to the article in wikisource.
 
   or wstitle= to link to the article in wikisource.
 
   year will default to 1899 if not set
 
   year will default to 1899 if not set
-->{{cite encyclopedia
+
-->{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite encyclopedia
|{{#if:{{{first|}}}|first |HIDE_PARAMETER1}}={{{first|}}}
+
    |_exclude=display, noicon, no-icon, short, vb, wstitle, _debug
|{{#if:{{{last|}}} |last |HIDE_PARAMETER2}}={{{last|}}}
+
    |_reuse=author-link, title, url
  
 
<!--Pre-set parameters that can be hidden with the short parameter (short=1) -->
 
<!--Pre-set parameters that can be hidden with the short parameter (short=1) -->
  |{{#if:{{{short|}}} |HIDE_PARAMETER3 |editor-first}}={{{editor-first|Francisco}}}
+
  |editor-first={{#if:{{{short|}}}||Francisco}}
  |{{#if:{{{short|}}} |HIDE_PARAMETER4 |editor-last}}={{{editor-last|Astaburuaga Cienfuegos}}}
+
  |editor-last={{#if:{{{short|}}}||Astaburuaga Cienfuegos}}
|{{#if:{{{short|}}} |HIDE_PARAMETER5 |editorlink}}={{{editorlink|Francisco Astaburuaga Cienfuegos}}}
+
  |editor-link={{#if:{{{short|}}}||Francisco Astaburuaga Cienfuegos}}
<!-- not in use
 
  |{{#if:{{{short|}}} |HIDE_PARAMETER6 |location}}={{{location|PUT DEFAULT LOCATION HERE}}}
 
|{{#if:{{{short|}}} |HIDE_PARAMETER7 |publisher}}={{{publisher|PUT DEFAULT PUBLISHER HERE}}}
 
-->
 
  
  |year={{{year|1899}}}
+
  |date=1899
  
|title={{#if:{{{title|}}}|{{{title}}}|
+
  |title={{#if:{{{title|}}}|{{{title}}}|
{{#if:{{{wstitle|}}}|[[s:es:Diccionario Geográfico de la República de Chile/{{#switch: {{Str left|{{{wstitle|}}}|1}}<!--Template:Str_left-->
+
            {{#if:{{{wstitle|}}}|{{cite wikisource/make link
  |C |c = {{#switch: {{Str left|{{{wstitle|}}}|2}}
+
                |language=es
        |Ch |ch =Ch
+
                |link =Diccionario Geográfico de la República de Chile/{{#switch: {{Str left|{{{wstitle|}}}|1}}<!--Template:Str_left-->
        |#default=C
+
                  |C |c = {{#switch: {{Str left|{{{wstitle|}}}|2}}
 +
                        |Ch |ch =Ch
 +
                        |#default=C
 +
                        }}
 +
                  |D=D|E=E|F+F|G=G|H=H|I=I|J=J|K=K
 +
                  |L |l = {{#switch: {{Str left|{{{wstitle|}}}|2}}
 +
                        |Li |li =Li
 +
                        |#default=L
 +
                        }}
 +
                ||#default={{Str left|{{{wstitle|}}}|1}}
 +
                }}                |anchor={{{wstitle|}}}
 +
                |label={{{display|{{{wstitle|}}}}}}
 +
                |noicon={{{noicon|}}}
 +
              }}
 +
            }}
 
         }}
 
         }}
  |D=D|E=E|F+F|G=G|H=H|I=I|J=J|K=K
+
 
  |L |l = {{#switch: {{Str left|{{{wstitle|}}}|2}}
 
        |Li |li =Li
 
        |#default=L
 
        }}
 
||#default={{Str left|{{{wstitle|}}}|1}}
 
}}#{{{wstitle|}}}|{{{display|{{{wstitle|}}} }}}]]|<sup><span style="color:red">article name needed</span></sup>}} }}
 
 
  |url={{#if:{{{title|}}}|{{{url|}}}|}}
 
  |url={{#if:{{{title|}}}|{{{url|}}}|}}
  
  |encyclopedia={{{encyclopedia|[[s:es:Diccionario Geográfico de la República de Chile|Diccionario Geográfico de la República de Chile]] (Geographic Dictionary of the Republic of Chile)}}}
+
  |encyclopedia=[[s:es:Diccionario Geográfico de la República de Chile|Diccionario Geográfico de la República de Chile]] (Geographic Dictionary of the Republic of Chile)
  |language=Spanish
+
  |language=es
|{{#if:{{{volume|}}} |volume |HIDE_PARAMETER8}}={{{volume|}}}
 
|{{#if:{{{page|}}}  |page  |HIDE_PARAMETER9}}={{{page|}}}
 
|{{#if:{{{pages|}}}  |pages  |HIDE_PARAMETER10}}={{{pages|}}}
 
|{{#if:{{{refs|}}}  |refs  |HIDE_PARAMETER11}}={{{refs|}}}
 
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
</noinclude>
 
</noinclude>

Latest revision as of 18:38, 16 October 2020

PD-icon.svg Astaburuaga Cienfuegos, Francisco, ed. (1899). Diccionario Geográfico de la República de Chile (Geographic Dictionary of the Republic of Chile) (in Spanish). Missing or empty |title= (help)

Template documentation[view] [edit] [history] [purge]

Usage

Add {{Cite DGRC|wstitle=name of the DGRC article}} to use it as source. It will automatically link to the entry in the Spanish Wikisource (if it exists).

If there is no entry in the Spanish Wikisource then:

  • {{Cite DGRC|title=name of the DGRC article|url=url}}

can be used to link to an external online source. If no such online source exists then the url can be left out.

Other optional parameters include:

  • volume=volume number
  • page=page number
  • pages=page range
  • ref=harv (see {{harv}})

A non standard parameter is:

  • display=display name this will replace the DGRC article name with an alternative (useful to replace long names, or names with a disambiguation extension).

See also

  • {{DGRC}} takes the same parameters as this template but displays an attribution string for use when text is copied and translated from the original with minimal alterations (see WP:PLAGIARISM)
  • {{DGRC poster}} for use in Further reading or External links sections. It places a Wikisource poster box (a graphical template) on the right hand side of the screen.