Template:Story: Difference between revisions

From Post-Self
(Initial template)
 
(Add character and year)
Line 1: Line 1:
<includeonly><onlyinclude>{| class="wikitable" style="margin: 1em; margin-right: 0; float: right; clear: right; max-width: min(360px, 40%);"
<includeonly><onlyinclude>{| class="wikitable" style="margin: 1em; margin-right: 0; float: right; clear: right; max-width: min(360px, 40%);"
! colspan="2" | {{{1}}}
! colspan="2" | {{{title}}}
|-
|-
! colspan="2" style="font-weight: normal;" | ''{{{2}}}''
! colspan="2" style="font-weight: normal;" | ''{{{author}}}''
|-
! Character
| [[{{{character}}}]]
|-
! Year
| {{{year}}}
|-
|-
! Canonicity
! Canonicity
Line 24: Line 30:
<pre><nowiki>
<pre><nowiki>
{{Story
{{Story
| Story title
| title=Story title
| Story author
| author=Story author
| character=Character
| year=Year
| appearsin=Collection of works
| appearsin=Collection of works
| readlink=https://link-to-read.com
| readlink=https://link-to-read.com
Line 34: Line 42:


{{Story
{{Story
| Cowboy
| title=Cowboy
| Story author
| author=Alexandria Christina Leal
| character=The Peace system
| year=2200
| appearsin=Clade — A Post-Self anthology
| appearsin=Clade — A Post-Self anthology
| readlink=https://clade.post-self.ink/cowboy
| readlink=https://clade.post-self.ink/cowboy
Line 41: Line 51:
<pre><nowiki>
<pre><nowiki>
{{Story
{{Story
| Cowboy
| title=Cowboy
| Story author
| author=Alexandria Christina Leal
| character=The Peace system
| year=2200
| appearsin=Clade — A Post-Self anthology
| appearsin=Clade — A Post-Self anthology
| readlink=https://clade.post-self.ink/cowboy
| readlink=https://clade.post-self.ink/cowboy
Line 52: Line 64:
{
{
"params": {
"params": {
"1": {
"label": "Title",
"description": "The title of the work",
"example": "Cowboy",
"type": "string",
"required": true
},
"2": {
"label": "Author",
"description": "The author of the work",
"example": "Alexandria Christina Leal",
"type": "line",
"required": true
},
"canon": {
"canon": {
"label": "Canonicity",
"label": "Canonicity",
Line 93: Line 91:
"example": "https://clade.post-self.ink/cowboy",
"example": "https://clade.post-self.ink/cowboy",
"type": "url"
"type": "url"
},
"title": {
"label": "Title",
"description": "The title of the work",
"example": "Cowboy",
"type": "string",
"required": true
},
"author": {
"label": "Author",
"description": "The author of the work",
"example": "Alexandria Christina Leal",
"type": "line",
"required": true
},
"character": {
"label": "Character",
"description": "The name of the main character or clade",
"example": "Theodred",
"type": "line",
"required": true
},
"year": {
"label": "Year",
"description": "The year in which the story takes place",
"example": "2343",
"type": "number",
"required": true
}
}
}
},
"paramOrder": [
"title",
"author",
"character",
"year",
"canon",
"appearsin",
"readlink"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 05:21, 8 February 2024


Usage

Displays information about a story.

{{Story
| title=Story title
| author=Story author
| character=Character
| year=Year
| appearsin=Collection of works
| readlink=https://link-to-read.com
}}

Example

Cowboy
Alexandria Christina Leal
Character The Peace system
Year 2200
Canonicity Canon
Appears in Clade — A Post-Self anthology
Read here
{{Story
| title=Cowboy
| author=Alexandria Christina Leal
| character=The Peace system
| year=2200
| appearsin=Clade — A Post-Self anthology
| readlink=https://clade.post-self.ink/cowboy
}}

Parameters

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Titletitle

The title of the work

Example
Cowboy
Stringrequired
Authorauthor

The author of the work

Example
Alexandria Christina Leal
Linerequired
Charactercharacter

The name of the main character or clade

Example
Theodred
Linerequired
Yearyear

The year in which the story takes place

Example
2343
Numberrequired
Canonicitycanon

What level of canon the work is

Suggested values
Canon Paracanon Protocanon Non-canon
Default
Canon
Stringoptional
Appears inappearsin

Any collections the work appears in

Suggested values
Clade — A Post-Self Anthology Marsh
Example
Clade — A Post-Self Anthology
Stringoptional
Read linkreadlink

A link where one can read the story

Example
https://clade.post-self.ink/cowboy
URLoptional