Difference between revisions of "Template:DGRC/doc"

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
(add cat)
imported>Uanfala
(removing category: not a dictionary source template; precluding the sandbox from showing up in categories)
Line 24: Line 24:
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 +
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
{{DEFAULTSORT:Dgrc}}
 
{{DEFAULTSORT:Dgrc}}
[[Category:Dictionary source templates]]
+
[[Category:Dictionary templates]]
 
[[Category:Wikisource link templates]]
 
[[Category:Wikisource link templates]]
</includeonly>
+
}}</includeonly>

Revision as of 20:25, 24 September 2016

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.