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

From blackwiki
Jump to navigation Jump to search
imported>Danny lost
(more words (instead of less))
imported>Danny lost
Line 1: Line 1:
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 function|wrapper]] for the {{tl|PACEJ}} and {{tl|Perseus}} templates.
+
This template allows the works of [[Flavius Josephus]] published in the Project on Ancient Cultural Engagement (PACE), the [[Perseus Project]], and the [[Loeb Classical Library]] to be cited in one citation statement. It is essentially a [[wrapper function|wrapper]] for the {{tl|PACEJ}}, {{tl|LOEBJ}} and {{tl|Perseus}} templates.
  
 
==Sample template==
 
==Sample template==
 
<pre style="overflow: auto">
 
<pre style="overflow: auto">
{{cite Josephus| PACEJ = 1 | text= |bookno= |NorW= |Wchapter= |chunkid= |Perseus = 1 |1= |2= |3= |link=yes}}
+
{{cite Josephus| PACEJ = 1 | text= |bookno= |chap= |sec= |Perseus = 1 |1= |2= |3= |link=yes}}
 
</pre>
 
</pre>
  
Line 12: Line 12:
 
|-
 
|-
 
|align="center"|'''pace''' or '''PACEJ'''
 
|align="center"|'''pace''' or '''PACEJ'''
|If citing PACE, use <code>pace=1</code> or <code>PACEJ=1</code>, then add the parameters for {{tl|PACEJ}}: '''text''', '''bookno''', '''NorW''', '''Wchapter''', and '''chunkid'''. (see the documentation below).
+
|If citing PACE, use <code>pace=1</code> or <code>PACEJ=1</code>, then add the parameters for {{tl|PACEJ}}: '''text''', '''bookno''', '''chap''', and '''sec'''. (see the documentation below).
 
|-
 
|-
 
|align="center"|'''per''' or '''Perseus'''
 
|align="center"|'''per''' or '''Perseus'''
Line 24: Line 24:
 
*PACE only
 
*PACE only
 
;;Wikitext
 
;;Wikitext
::<nowiki>{{cite Josephus | link=yes | PACEJ=1 | text=wars | NorW= W | bookno=6 | Wchapter=9 | chunkid=3}}</nowiki>
+
::<nowiki>{{cite Josephus | link=yes | PACEJ=1 | text=wars | bookno=6 | chap=9 | sec=3}}</nowiki>
  
 
;;Result
 
;;Result
::{{cite Josephus|link=yes|PACEJ=1|text=wars|NorW=W|bookno=6|Wchapter=9|chunkid=3}}
+
::{{cite Josephus | link=yes | PACEJ=1 | text=wars | bookno=6 | chap=9 | sec=3}}
  
  
Line 36: Line 36:
 
;;Result
 
;;Result
 
::{{cite Josephus |Perseus=1 | 1=J. | 2=BJ | 3=6.9.3}}
 
::{{cite Josephus |Perseus=1 | 1=J. | 2=BJ | 3=6.9.3}}
 +
 +
 +
*Loeb only, no wikilink
 +
;;Wikitext
 +
::<nowiki>{{cite Josephus | LOEBJ=1 | ants=6 | sec=3}}</nowiki>
 +
 +
;;Result
 +
::{{cite Josephus | LOEBJ=1 | ants=6 | sec=3}}
  
  
 
*PACE and Perseus, with wikilink
 
*PACE and Perseus, with wikilink
 
;;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 | bookno=6 | chap=9 | sec=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
::{{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}}
+
::{{cite Josephus | link=yes | PACEJ=1 | text=wars | bookno=6 | chap=9 | sec=3
 +
|Perseus=1 | 1=J. | 2=BJ | 3=6.9.3}}
  
 
==Documentation==
 
==Documentation==

Revision as of 01:44, 19 September 2015

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

Sample template

{{cite Josephus| PACEJ = 1 | text= |bookno= |chap= |sec= |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}}: text, bookno, chap, and sec. (see the documentation below).
per or Perseus If citing Perseus, use per=1 or Perseus=1, then add the parameters for {{Perseus}}: 1, 2, and 3. (see the documentation below).
link Use link=yes to add the wikilink "Josephus" in the beginning of the line.

Examples

  • PACE only
Wikitext
{{cite Josephus | link=yes | PACEJ=1 | text=wars | bookno=6 | chap=9 | sec=3}}
Result
Josephus:Template:SpaceTemplate:PACEJ.Template:SpaceError: |link= parameter is deprecated. To hide Josephus' name, use |author-mask=0. when using {{Cite Josephus}}Template:Namespace detect showall


  • Perseus only, no wikilink
Wikitext
{{cite Josephus |Perseus=1 | 1=J. | 2=BJ | 3=6.9.3}}
Result
Template:Perseus,Template:Space.


  • Loeb only, no wikilink
Wikitext
{{cite Josephus | LOEBJ=1 | ants=6 | sec=3}}
Result
Loeb: 6.3.


  • PACE and Perseus, with wikilink
Wikitext
{{cite Josephus | link=yes | PACEJ=1 | text=wars | bookno=6 | chap=9 | sec=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}}