Template:Creative-work: Difference between revisions
Jump to navigation
Jump to search
MOD-GSMOTTE (talk | contribs) (Hit save before I was ready. :) Now links "official lore" to the Official Documentation category in the banners.) |
MOD-GSMOTTE (talk | contribs) m (Updating the categories and template to include periodical. Let's see if I broke it.) |
||
Line 14: | Line 14: | ||
{{creative-work |
{{creative-work |
||
|title = <!-- Name of work --> |
|title = <!-- Name of work --> |
||
|type = <!-- Choose: short story, poem, song, essay --> |
|type = <!-- Choose: short story, poem, song, essay, periodical --> |
||
|author = <!-- Name of author in plain text, will show up on list of creative works page --> |
|author = <!-- Name of author in plain text, will show up on list of creative works page --> |
||
|author-displayed = <!-- Name of author with links to character pages as applicable (optional) --> |
|author-displayed = <!-- Name of author with links to character pages as applicable (optional) --> |
||
Line 26: | Line 26: | ||
<p style="margin: 0.5em 0 0 0;">'''Author''': {{#if: {{{author-displayed|}}} | {{{author-displayed}}} | {{{author|(Unknown)}}}}}</p> |
<p style="margin: 0.5em 0 0 0;">'''Author''': {{#if: {{{author-displayed|}}} | {{{author-displayed}}} | {{{author|(Unknown)}}}}}</p> |
||
</div> |
</div> |
||
<includeonly>[[Creative-work-is::true| ]][[Creative-work-author::{{{author|}}}| ]]{{#switch: {{{type|}}} | short story = [[Category:Short Stories]] | poem = [[Category:Poetry]] | song = [[Category:Songs]] | essay = [[Category:Essays]] | }}[[Category:Player-created content]]</includeonly> |
<includeonly>[[Creative-work-is::true| ]][[Creative-work-author::{{{author|}}}| ]]{{#switch: {{{type|}}} | short story = [[Category:Short Stories]] | poem = [[Category:Poetry]] | poetry = [[Category:Poetry]] | periodical = [[Category:Periodical]] | song = [[Category:Songs]] | essay = [[Category:Essays]] | }}[[Category:Player-created content]]</includeonly> |
Revision as of 09:40, 26 March 2023
Using this template will automatically update the list of creative works (with a brief delay). Due to technical restrictions, the "author" field cannot contain any wiki markup. This plain text name will be reflected on the sortable list. Use the "author-displayed" field within the template to add a link to character pages on the creative work page itself.
Parameters
- author
- author-displayed (optional)
- title
- type (optional: short story/poem/song/essay)
Copy/paste code
{{creative-work |title = <!-- Name of work --> |type = <!-- Choose: short story, poem, song, essay, periodical --> |author = <!-- Name of author in plain text, will show up on list of creative works page --> |author-displayed = <!-- Name of author with links to character pages as applicable (optional) --> }}
This is a creative work set in the world of Elanthia, attributed to its original author(s). It does not necessarily represent the official lore of GemStone IV.
Title: Creative-work
Author: (Unknown)