More actions
added support for prologue/epilogue |
Add paragraph finder note to paragraph number description |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 4: | Line 4: | ||
| post-epilogue = {{{chapter|{{{2}}}}}} | | post-epilogue = {{{chapter|{{{2}}}}}} | ||
| #default = chapter {{{chapter|{{{2}}}}}} | | #default = chapter {{{chapter|{{{2}}}}}} | ||
}}{{#if:{{{paragraph|{{{3|}}}}}}|, paragraph {{{paragraph|{{{3|}}}}}}}}|{{error|parameters <code>book</code> and <code>chapter</code> are required}}}}</includeonly><noinclude> | }}{{#if:{{{paragraph|{{{3|}}}}}}|, paragraph {{{paragraph|{{{3|}}}}}}}}.{{#if:{{{quote|}}}| "{{{quote}}}"}}|{{error|parameters <code>book</code> and <code>chapter</code> are required}}}}</includeonly><noinclude> | ||
{{Cite book|<nowiki>{{{book}}}</nowiki>|<nowiki>{{{chapter}}}</nowiki>|<nowiki>{{{paragraph}}}</nowiki>}} | {{Cite book|<nowiki>{{{book}}}</nowiki>|<nowiki>{{{chapter}}}</nowiki>|<nowiki>{{{paragraph}}}</nowiki>}} | ||
| Line 25: | Line 25: | ||
], | ], | ||
"label": "Chapter number", | "label": "Chapter number", | ||
"description": "Chapter number being cited", | "description": "Chapter number being cited. Can be \"prologue\", \"epilogue\", \"post-epilogue\", or a number.", | ||
"example": " | "example": "Prologue", | ||
"type": " | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
| Line 35: | Line 35: | ||
], | ], | ||
"label": "Paragraph number", | "label": "Paragraph number", | ||
"description": "Paragraph number being cited", | "description": "Paragraph number being cited. You can look this up at wingsoffire.wiki/paragraphs.", | ||
"example": "3", | "example": "3", | ||
"type": "number", | "type": "number", | ||
"suggested": true | "suggested": true | ||
}, | |||
"quote": { | |||
"label": "Quotation", | |||
"description": "A quotation of the text being cited. Placed in quotation marks automatically.", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
"description": "Cite | "description": "Cite a book", | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> | ||
Latest revision as of 09:28, 11 May 2025
{{{book}}}, chapter {{{chapter}}}, paragraph {{{paragraph}}}.
Cite a book
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Book name | book 1 | Name of the book being cited
| Content | required |
| Chapter number | chapter 2 | Chapter number being cited. Can be "prologue", "epilogue", "post-epilogue", or a number.
| String | required |
| Paragraph number | paragraph 3 | Paragraph number being cited. You can look this up at wingsoffire.wiki/paragraphs.
| Number | suggested |
| Quotation | quote | A quotation of the text being cited. Placed in quotation marks automatically. | String | optional |