Difference between revisions of "Template:Cite Josephus/doc"

From blackwiki
Jump to navigation Jump to search
imported>Lam-ang
m (suppress categorization of /sandbox)
imported>Danny lost
m (optional name)
Line 3: Line 3:
 
==Sample template==
 
==Sample template==
 
<pre style="overflow: auto">
 
<pre style="overflow: auto">
{{cite Josephus|link=yes|PACEJ=1|text=|bookno=|NorW=|Wchapter=|chunkid=|Perseus=1|1=|2=|3=}}
+
{{cite Josephus| PACEJ = 1 | text= |bookno= |NorW= |Wchapter= |chunkid= |Perseus = 1 |1= |2= |3= |link=yes}}
 
</pre>
 
</pre>
  
Line 18: Line 18:
 
|-
 
|-
 
|align="center"|'''link'''
 
|align="center"|'''link'''
|Use <code>link=yes</code> to link the word "[[Flavius Josephus|Josephus]]" in the template to the article "[[Flavius Josephus]]".
+
|Use <code>link=yes</code> to add the wikilink "[[Flavius Josephus|Josephus]]" in the beginning of the line.
 
|}
 
|}
  
 
==Example==
 
==Example==
 
;Wikitext
 
;Wikitext
:<nowiki>{{cite Josephus|link=yes|PACEJ=1|text=wars|NorW=W|bookno=6|Wchapter=9|chunkid=3
+
:<nowiki>{{cite Josephus | link=yes | PACEJ=1 | text=wars | NorW= W | bookno=6 | Wchapter=9 | chunkid=3
|Perseus=1|1=J.|2=BJ|3=6.9.3}}</nowiki>
+
|Perseus=1 | 1=J. | 2=BJ | 3=6.9.3}}</nowiki>
  
 
;Result
 
;Result

Revision as of 13:58, 8 September 2015

This template allows the works of Flavius Josephus published in the Project on Ancient Cultural Engagement (PACE) and the Perseus Project to be cited in one citation statement. It is essentially a wrapper for the {{PACEJ}} and {{Perseus}} templates.

Sample template

{{cite Josephus| PACEJ = 1 | text= |bookno= |NorW= |Wchapter= |chunkid= |Perseus = 1 |1= |2= |3= |link=yes}}

Parameters

Parameter Description
pace or PACEJ If citing PACE, use pace=1 or PACEJ=1, then add the parameters for {{PACEJ}} (see the documentation below).
per or Perseus If citing Perseus, use per=1 or Perseus=1, then add the parameters for {{Perseus}} (see the documentation below).
link Use link=yes to add the wikilink "Josephus" in the beginning of the line.

Example

Wikitext
{{cite Josephus | link=yes | PACEJ=1 | text=wars | NorW= W | bookno=6 | Wchapter=9 | chunkid=3 |Perseus=1 | 1=J. | 2=BJ | 3=6.9.3}}
Result
Josephus:Template:SpaceTemplate:PACEJ,Template:SpaceTemplate:Perseus,Template:Space.Template:SpaceError: |link= parameter is deprecated. To hide Josephus' name, use |author-mask=0. when using {{Cite Josephus}}Template:Namespace detect showall

Documentation

{{PACEJ}}

{{Perseus}}