Jump to content

Template:Story: Difference between revisions

Add character and year
(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>