Difference between revisions of "Template:HDCA/doc"

From blackwiki
Jump to navigation Jump to search
imported>PBS
m (added |HDCA so it appears under H and not T)
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 +
A template to link to entries in [[Harpers Dictionary of Classical Antiquities]]
  
 
=== Usage ===
 
=== Usage ===
This template should be placed on the '''main''' page of the article.
+
<pre style="overflow: auto;">{{HDCA
 +
| author =
 +
| first =
 +
| last =
 +
| article =
 +
| title =
 +
| url =
 +
| wstitle =
 +
| volume =
 +
| page =
 +
| pages =
 +
| ref =
 +
| mode =
 +
}}</pre>
  
There are three optional parameters:
+
The optional parameters are:
* ''author='' refers to the author of the respective entry.
+
 
* ''article='' refers to the name of the entry in the dictionary.
+
last= — last name of the author of the respective entry.
* ''page='' refers to the page number on which the respective entry appears.
+
first= — first name(s) of the author of the respective entry.  
 +
title= refers to the name of the entry in the dictionary.
 +
wstitle= — if the entry in the dictionary is on [[Wikisource]]
 +
page= refers to the page number on which the respective entry appears.
 +
pages= — refers to the page numbers of if the respective entry spans more than one page.
 +
ref= — it defaults to ''harv'' but can be changed.
 +
mode=  — to alter the mode from [[WP:CS1|CS1]] to [[WP:CS2|CS2]]
  
 
This template will add the articles transcluding it to the hidden category [[:Category:Wikipedia articles incorporating text from the Harpers Dictionary of Classical Antiquities]].
 
This template will add the articles transcluding it to the hidden category [[:Category:Wikipedia articles incorporating text from the Harpers Dictionary of Classical Antiquities]].
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
 
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
  
 
[[Category:Attribution templates|HDCA]]
 
[[Category:Attribution templates|HDCA]]
</includeonly>
+
 
 +
[[ja:Template:HDCA]]
 +
}}</includeonly>

Latest revision as of 16:44, 25 April 2020

A template to link to entries in Harpers Dictionary of Classical Antiquities

Usage

{{HDCA
| author = 
| first = 
| last = 
| article = 
| title = 
| url = 
| wstitle = 
| volume = 
| page = 
| pages = 
| ref = 
| mode = 
}}

The optional parameters are:

last= — last name of the author of the respective entry. 
first= — first name(s) of the author of the respective entry. 
title= — refers to the name of the entry in the dictionary.
wstitle= — if the entry in the dictionary is on Wikisource
page=  — refers to the page number on which the respective entry appears.
pages= — refers to the page numbers of if the respective entry spans more than one page.
ref= — it defaults to harv but can be changed.
mode=  — to alter the mode from CS1 to CS2

This template will add the articles transcluding it to the hidden category Category:Wikipedia articles incorporating text from the Harpers Dictionary of Classical Antiquities.