Difference between revisions of "Template:DGRC"

From blackwiki
Jump to navigation Jump to search
imported>Auric
(refs -> ref, per doc)
imported>WOSlinker
(dedupe HIDE_PARAMETER to stop adding to Category:Pages using duplicate arguments in template calls)
Line 1: Line 1:
 
{{cite DGRC
 
{{cite DGRC
  |{{#if:{{{noicon|}}}|noicon |HIDE_PARAMETER}}={{{noicon|}}}
+
  |{{#if:{{{noicon|}}}|noicon |HIDE_PARAMETER1}}={{{noicon|}}}
 
  |vb={{{vb|1}}}
 
  |vb={{{vb|1}}}
  |{{#if:{{{short|}}}|short |HIDE_PARAMETER}}={{{short|}}}
+
  |{{#if:{{{short|}}}|short |HIDE_PARAMETER2}}={{{short|}}}
 
   
 
   
  |{{#if:{{{first|}}}|first |HIDE_PARAMETER}}={{{first|}}}
+
  |{{#if:{{{first|}}}|first |HIDE_PARAMETER3}}={{{first|}}}
  |{{#if:{{{last|}}} |last |HIDE_PARAMETER}}={{{last|}}}
+
  |{{#if:{{{last|}}} |last |HIDE_PARAMETER4}}={{{last|}}}
  |{{#if:{{{editor-first|}}} |editor-first |HIDE_PARAMETER}}={{{editor-first|}}}  
+
  |{{#if:{{{editor-first|}}} |editor-first |HIDE_PARAMETER5}}={{{editor-first|}}}  
  |{{#if:{{{editor-last|}}} |editor-last |HIDE_PARAMETER}}={{{editor-last|}}}
+
  |{{#if:{{{editor-last|}}} |editor-last |HIDE_PARAMETER6}}={{{editor-last|}}}
  |{{#if:{{{editorlink|}}} |editorlink |HIDE_PARAMETER}}={{{editorlink|}}}  
+
  |{{#if:{{{editorlink|}}} |editorlink |HIDE_PARAMETER7}}={{{editorlink|}}}  
  
  |{{#if:{{{location|}}} |location |HIDE_PARAMETER}}={{{location|}}}
+
  |{{#if:{{{location|}}} |location |HIDE_PARAMETER8}}={{{location|}}}
  |{{#if:{{{publisher|}}} |publisher |HIDE_PARAMETER}}={{{publisher|}}}  
+
  |{{#if:{{{publisher|}}} |publisher |HIDE_PARAMETER9}}={{{publisher|}}}  
  
  |{{#if:{{{year|}}}  |year |HIDE_PARAMETER}}={{{year|}}}  
+
  |{{#if:{{{year|}}}  |year |HIDE_PARAMETER10}}={{{year|}}}  
  |{{#if:{{{title|}}} |title |HIDE_PARAMETER}}={{{title|}}}  
+
  |{{#if:{{{title|}}} |title |HIDE_PARAMETER11}}={{{title|}}}  
  |{{#if:{{{wstitle|}}} |wstitle |HIDE_PARAMETER}}={{{wstitle|}}}  
+
  |{{#if:{{{wstitle|}}} |wstitle |HIDE_PARAMETER12}}={{{wstitle|}}}  
  |{{#if:{{{url|}}} |url |HIDE_PARAMETER}}={{{url|}}}  
+
  |{{#if:{{{url|}}} |url |HIDE_PARAMETER13}}={{{url|}}}  
  |{{#if:{{{encyclopedia|}}} |encyclopedia |HIDE_PARAMETER}}={{{encyclopedia|}}}  
+
  |{{#if:{{{encyclopedia|}}} |encyclopedia |HIDE_PARAMETER14}}={{{encyclopedia|}}}  
  |{{#if:{{{language|}}} |language |HIDE_PARAMETER}}={{{language|}}}  
+
  |{{#if:{{{language|}}} |language |HIDE_PARAMETER15}}={{{language|}}}  
  |{{#if:{{{volume|}}} |volume |HIDE_PARAMETER}}={{{volume|}}}
+
  |{{#if:{{{volume|}}} |volume |HIDE_PARAMETER16}}={{{volume|}}}
  |{{#if:{{{page|}}}  |page  |HIDE_PARAMETER}}={{{page|}}}
+
  |{{#if:{{{page|}}}  |page  |HIDE_PARAMETER17}}={{{page|}}}
  |{{#if:{{{pages|}}}  |pages  |HIDE_PARAMETER}}={{{pages|}}}
+
  |{{#if:{{{pages|}}}  |pages  |HIDE_PARAMETER18}}={{{pages|}}}
 
  |ref={{{ref|harv}}}
 
  |ref={{{ref|harv}}}
 
}}<noinclude>
 
}}<noinclude>
 
{{doc}}
 
{{doc}}
 
</noinclude>
 
</noinclude>

Revision as of 09:47, 25 October 2014

PD-icon.svg This article incorporates text from a publication now in the public domainAstaburuaga 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)CS1 maint: ref=harv (link)

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

Usage

Add {{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:

  • {{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 (harv is the default but any other value can be set (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

  • {{Cite DGRC}} takes the same parameters as this template but does not display an attribution string.
  • {{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.