Template:BibliographyMagazine: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Code for handling Dragon magazine annuals correctly |
||
| Line 23: | Line 23: | ||
| error | | error | ||
}} #{{{issue|}}}''. {{#switch:{{{magazine|}}} | }} #{{{issue|}}}''. {{#switch:{{{magazine|}}} | ||
| Dragon = {{#ifexpr:{{{issue|}}}<240|Lake Geneva, WI: TSR|{{#ifexpr:{{{issue|}}}<298|Renton, WA: Wizards of the Coast|{{#ifexpr:{{{issue|}}}<361|Bellvue, WA: Paizo Publishing|Renton, WA: Wizards of the Coast}}}}}} | | Dragon = {{#if:{{#count:{{{issue|}}}|A}}|{{#switch:{{{issue|}}} | ||
| A1 | A1996 | A96 | Annual 1 | Annual 1996 = Lake Geneva, WI: TSR | |||
| A2 | A1997 | A97 | Annual 2 | Annual 1997 = Renton, WA: TSR | |||
| A3 | A1998 | A98 | Annual 3 | Annual 1998 = Renton, WA: TSR | |||
| A4 | A1999 | A99 | Annual 4 | Annual 1999 = Renton, WA: Wizards of the Coast | |||
| A5 | A2000 | A00 | Annual 5 | Annual 2000 = Renton, WA: Wizards of the Coast | |||
| A6 | A2009 | A09 | Annual 6 | Annual 2009 = Renton, WA: Wizards of the Coast | |||
}}|{{#ifexpr:{{{issue|}}}<240|Lake Geneva, WI: TSR|{{#ifexpr:{{{issue|}}}<298|Renton, WA: Wizards of the Coast|{{#ifexpr:{{{issue|}}}<361|Bellvue, WA: Paizo Publishing|Renton, WA: Wizards of the Coast}}}}}}}} | |||
| Dungeon = {{#ifexpr:{{{issue|}}}<64|Lake Geneva, WI: TSR|{{#ifexpr:{{{issue|}}}<94|Lake Geneva, WI: TSR|{{#ifexpr:{{{issue|}}}<151|Bellvue, WA: Paizo Publishing|Renton, WA: Wizards of the Coast}}}}}} | | Dungeon = {{#ifexpr:{{{issue|}}}<64|Lake Geneva, WI: TSR|{{#ifexpr:{{{issue|}}}<94|Lake Geneva, WI: TSR|{{#ifexpr:{{{issue|}}}<151|Bellvue, WA: Paizo Publishing|Renton, WA: Wizards of the Coast}}}}}} | ||
| Polyhedron = {{#ifeq:{{{issue|}}}|Introductory issue|Lake Geneva, WI: TSR|{{#ifeq:{{{issue|}}}|GC1|Lake Geneva, WI: TSR|{{#ifexpr:{{{issue|}}}<126|Lake Geneva, WI: TSR|{{#ifexpr:{{{issue|}}}<126|Renton, WA: Wizards of the Coast|{{#ifexpr:{{{issue|}}}<153|Renton, WA: Wizards of the Coast|Bellvue, WA: Paizo Publishing}}}}}}}}}} | | Polyhedron = {{#ifeq:{{{issue|}}}|Introductory issue|Lake Geneva, WI: TSR|{{#ifeq:{{{issue|}}}|GC1|Lake Geneva, WI: TSR|{{#ifexpr:{{{issue|}}}<126|Lake Geneva, WI: TSR|{{#ifexpr:{{{issue|}}}<126|Renton, WA: Wizards of the Coast|{{#ifexpr:{{{issue|}}}<153|Renton, WA: Wizards of the Coast|Bellvue, WA: Paizo Publishing}}}}}}}}}} | ||
Revision as of 10:50, 4 December 2021
A bibliography helper for Template:Bibliography for magazine entries. You won't need to use this directly.
Instead, to create a bibliography entry for a magazine entry, use this format:
{{subst:bib|Dragon #100|firstname=Robert|lastname=Schroeck|article=The City Beyond the Gate}}
Usage
- Magazine: Dragon, Dungeon, LGJ, or Polyhedron.
- Issue: Number. Polyhedron also has "Introductory issue" and "GC1".
- Article: Article title.
- Firstname: Author's first name.
- Lastname: Author's last name.
- Coauthors: Any co-authors other than the primary author, separated by commas, and wikilinked as needed; e.g. "[[Erik Mona]], [[Sean K. Reynolds]], and [[Gary Holian]]".
- Date: Year or year/month of magazine issue.