Difference between revisions of "Template:Cite DGRC"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(cite encyclopedia)
imported>WOSlinker
(dedupe HIDE_PARAMETER to stop adding to Category:Pages using duplicate arguments in template calls)
Line 9: Line 9:
 
   year will default to 1899 if not set
 
   year will default to 1899 if not set
 
-->{{cite encyclopedia
 
-->{{cite encyclopedia
  |{{#if:{{{first|}}}|first |HIDE_PARAMETER}}={{{first|}}}  
+
  |{{#if:{{{first|}}}|first |HIDE_PARAMETER1}}={{{first|}}}  
  |{{#if:{{{last|}}} |last |HIDE_PARAMETER}}={{{last|}}}  
+
  |{{#if:{{{last|}}} |last |HIDE_PARAMETER2}}={{{last|}}}  
  
 
<!--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_PARAMETER |editor-first}}={{{editor-first|Francisco Astaburuaga}}}
+
  |{{#if:{{{short|}}} |HIDE_PARAMETER3 |editor-first}}={{{editor-first|Francisco Astaburuaga}}}
  |{{#if:{{{short|}}} |HIDE_PARAMETER |editor-last}}={{{editor-last|Cienfuegos}}}
+
  |{{#if:{{{short|}}} |HIDE_PARAMETER4 |editor-last}}={{{editor-last|Cienfuegos}}}
  |{{#if:{{{short|}}} |HIDE_PARAMETER |editorlink}}={{{editorlink|Francisco Astaburuaga Cienfuegos}}}
+
  |{{#if:{{{short|}}} |HIDE_PARAMETER5 |editorlink}}={{{editorlink|Francisco Astaburuaga Cienfuegos}}}
 
<!-- not in use
 
<!-- not in use
  |{{#if:{{{short|}}} |HIDE_PARAMETER |location}}={{{location|PUT DEFAULT LOCATION HERE}}}
+
  |{{#if:{{{short|}}} |HIDE_PARAMETER6 |location}}={{{location|PUT DEFAULT LOCATION HERE}}}
  |{{#if:{{{short|}}} |HIDE_PARAMETER |publisher}}={{{publisher|PUT DEFAULT PUBLISHER HERE}}}
+
  |{{#if:{{{short|}}} |HIDE_PARAMETER7 |publisher}}={{{publisher|PUT DEFAULT PUBLISHER HERE}}}
 
-->
 
-->
  
Line 40: Line 40:
 
  |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={{{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=Spanish
  |{{#if:{{{volume|}}} |volume |HIDE_PARAMETER}}={{{volume|}}}
+
  |{{#if:{{{volume|}}} |volume |HIDE_PARAMETER8}}={{{volume|}}}
  |{{#if:{{{page|}}}  |page  |HIDE_PARAMETER}}={{{page|}}}
+
  |{{#if:{{{page|}}}  |page  |HIDE_PARAMETER9}}={{{page|}}}
  |{{#if:{{{pages|}}}  |pages  |HIDE_PARAMETER}}={{{pages|}}}
+
  |{{#if:{{{pages|}}}  |pages  |HIDE_PARAMETER10}}={{{pages|}}}
  |{{#if:{{{refs|}}}  |refs  |HIDE_PARAMETER}}={{{refs|}}}
+
  |{{#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>

Revision as of 09:48, 25 October 2014

Wikisource-logo.svg 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).

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.