Difference between revisions of "Template:Cite DGRC"

From blackwiki
Jump to navigation Jump to search
imported>PBS
m (Reverted edits by PBS (talk) to last version by Diego Grez)
imported>PBS
(New version with fixes)
Line 1: Line 1:
''[[s:es:Diccionario Geográfico de la República de Chile/{{#if:{{{letter|}}}|{{{letter}}}|{{{entry}}}}}|{{{entry}}}]]'' entry at [[s:es:Diccionario Geográfico de la República de Chile|Diccionario Geográfico de la República de Chile]] (1899) at [[Wikisource]], by [[Francisco Astaburuaga Cienfuegos]]. {{es icon}}<noinclude>
+
<!--
 +
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
 +
-->{{#if:{{{vb|}}}|This article incorporates text from a publication now in the [[public domain]]:&nbsp;|}}<!--
 +
cite encyclopedia wrapper:
 +
  title must be be specified: either with a title= url= pair
 +
  or wstitle= to link to the article in wikisource.
 +
  year will default to 1905 if not set
 +
-->{{cite encyclopaedia
 +
|{{#if:{{{first|}}}|first |HIDE_PARAMETER}}={{{first|}}}
 +
|{{#if:{{{last|}}} |last |HIDE_PARAMETER}}={{{last|}}}
 +
 
 +
 
 +
<!--Pre-set parameters that can be hidden with the short parameter (short=1) -->
 +
|{{#if:{{{short|}}} |HIDE_PARAMETER |editor-first}}={{{editor-first|Francisco Astaburuaga}}}
 +
|{{#if:{{{short|}}} |HIDE_PARAMETER |editor-last}}={{{editor-last|Cienfuegos}}}
 +
|{{#if:{{{short|}}} |HIDE_PARAMETER |editorlink}}={{{editorlink|Francisco Astaburuaga Cienfuegos}}}
 +
<!-- not in use
 +
|{{#if:{{{short|}}} |HIDE_PARAMETER |location}}={{{location|PUT DEFAULT LOCATION HERE}}}
 +
|{{#if:{{{short|}}} |HIDE_PARAMETER |publisher}}={{{publisher|PUT DEFAULT PUBLISHER HERE}}}
 +
-->
 +
 
 +
|year={{{year|1899}}}
 +
 
 +
|title={{#if:{{{title|}}}|{{{title}}}|
 +
{{#if:{{{wstitle|{{{entry| {{{letter| }}} }}} }}}|[[s:es:Diccionario Geográfico de la República de Chile/{{#switch: {{Str left|{{{wstitle|}}}|1}}<!--Template:Str_left-->
 +
  |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}}
 +
}}#{{{wstitle|{{{entry|{{{letter| }}} }}} }}}|{{{display|{{{wstitle|{{{entry|{{{letter|}}} }}} }}} }}}]]|<sup><span style="color:red">article name needed</span></sup>}} }}
 +
|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)}}}
 +
|language=Spanish
 +
|{{#if:{{{volume|}}} |volume |HIDE_PARAMETER}}={{{volume|}}}
 +
|{{#if:{{{page|}}}  |page  |HIDE_PARAMETER}}={{{page|}}}
 +
|{{#if:{{{pages|}}}  |pages  |HIDE_PARAMETER}}={{{pages|}}}
 +
|refs={{{refs|harv}}}
 +
}}<noinclude>
 
{{doc}}
 
{{doc}}
 
[[fa:الگو:DGRC]]
 
[[fa:الگو:DGRC]]
 
[[tr:Şablon:DGRC]]</noinclude>
 
[[tr:Şablon:DGRC]]</noinclude>

Revision as of 14:05, 18 March 2013

12px Cienfuegos, Francisco Astaburuaga, ed. (1899). "article name needed". Diccionario Geográfico de la República de Chile (Geographic dictionary of the Republic of Chile) (in Spanish). Unknown parameter |refs= ignored (help)

50px 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.

fa:الگو:DGRC tr:Şablon:DGRC