Template:RSGCitation: Difference between revisions

From Red Star Games Compendium
Jump to navigation Jump to search
Created page with "<includeonly>{{#tag:ref |{{#if: {{{chapternumber|}}}|{{#if: {{{chaptername|}}}|"{{{chaptertype|Chapter}}} {{{chapternumber}}}: {{{chaptername}}}"|"{{{chaptertype|Chapter}}} {{..."
 
No edit summary
Line 6: Line 6:
{{#switch: {{{1}}}
{{#switch: {{{1}}}
|HotS1=[[Heroes of the Stars]] Rulebook v1
|HotS1=[[Heroes of the Stars]] Rulebook v1
|Map=Map of the Matoran Universe
|Map=[https://drive.google.com/file/d/1PRoy99dnwpye2v6FEkyfoZ77Q-mLDnXk/view Map of the Matoran Universe]
|SotC=Shadow of the Coliseum
|SotC=Shadow of the Coliseum
|DoM=Dusk of Makosu
|DoM=Dusk of Makosu

Revision as of 08:46, 3 January 2021

Documentation

This template produces citations for RSG works.

Parameters

Parameter Function
(first parameter) The abbreviation representing the piece of media being cited.
(second parameter) (optional) Behaves the same as page. (This is used for backwards compatibility.)
page (optional) The page number to cite.

If citing a range of pages, use startpage and endpage instead.

Default: nothing

startpage (optional) The first page number of the page range.

If citing just one page, use page instead.

Default: nothing

endpage (optional; required if startpage is specified) The last page number of the page range to cite.

If citing just one page, use page instead.

Default: nothing

chapternumber (optional) The number of the chapter to cite.

Default: nothing

chaptername (optional) The name of the chapter to cite.

Default: nothing

chaptertype (optional) The term used for divisions. For example, some books may be divided into "Parts" instead of "Chapters," so you could set chaptertype to Part and the template would display "Part" wherever "Chapter" would usually go.

Default: Chapter

entryname (optional) The name of the entry to cite.

Default: nothing

entrynumber (optional; only use if entryname is specified) The number of the entry to cite.

Default: nothing