Difference between revisions of "Template:Plot"
m |
m |
||
(104 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {{#css:Template:Plot/Plot.css}}{{#css: | + | {{#css:Template:Plot/Plot.css}} |
+ | |||
+ | {{ | ||
+ | #css: | ||
.header { | .header { | ||
border-top: 1px solid {{{color-border|black}}}; | border-top: 1px solid {{{color-border|black}}}; | ||
border-bottom: 1px solid {{{color-border|black}}}; | border-bottom: 1px solid {{{color-border|black}}}; | ||
− | background-color: {{{color-headers|#CCC}}}; | + | background-color: {{{color-headers-bg|#CCC}}}; |
+ | color: {{{color-headers-text|black}}}; | ||
border-radius: {{{headers-radius|0}}}; | border-radius: {{{headers-radius|0}}}; | ||
} | } | ||
− | a { | + | .subheader { |
+ | text-align: {{{info-align|left}}}; | ||
+ | } | ||
+ | |||
+ | .page a { | ||
color: {{{color-links|#666}}} !important; | color: {{{color-links|#666}}} !important; | ||
hover-color: {{{color-links-hover|#666}}} !important; | hover-color: {{{color-links-hover|#666}}} !important; | ||
} | } | ||
− | + | .page { | |
background-color: {{{page-color-bg|white}}}; | background-color: {{{page-color-bg|white}}}; | ||
color: {{{page-color-text|black}}}; | color: {{{page-color-text|black}}}; | ||
− | border: {{{page-border|2px}}}; | + | border: {{{page-border|2px solid black}}}; |
+ | } | ||
+ | |||
+ | .left-side { | ||
+ | border: {{{column-border}}}; | ||
+ | } | ||
+ | |||
+ | .right-side { | ||
+ | border: {{{column-border}}}; | ||
+ | } | ||
+ | |||
+ | .edit-link { | ||
+ | display: block; | ||
+ | width: 100%; | ||
+ | text-align: right; | ||
+ | font-size: small; | ||
+ | } | ||
+ | |||
+ | #information { | ||
+ | display: {{{display-information|block}}} | ||
} | } | ||
#rp-hooks { | #rp-hooks { | ||
− | display: {{{ | + | display: {{{display-rp-hooks|block}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
#summary { | #summary { | ||
− | + | display: {{{display-summary|block}}} | |
− | |||
− | |||
− | |||
− | |||
− | }} | ||
} | } | ||
#details { | #details { | ||
− | + | display: {{{display-details|block}}} | |
− | |||
− | |||
− | |||
− | |||
− | }} | ||
} | } | ||
#participants { | #participants { | ||
− | + | display: {{{display-participants|block}}} | |
− | |||
− | |||
− | |||
− | |||
− | }} | ||
} | } | ||
#updates { | #updates { | ||
− | + | display: {{{display-updates|block}}} | |
− | |||
− | |||
− | |||
− | |||
− | }} | ||
} | } | ||
#logs { | #logs { | ||
− | + | display: {{{display-logs|block}}} | |
− | |||
− | |||
− | |||
− | |||
− | }} | ||
} | } | ||
}} | }} | ||
− | <div id=" | + | <div class="page"> |
+ | |||
+ | <div class="column right-side"> | ||
+ | |||
+ | <div id="information"> | ||
+ | {{#if: {{{info-image|}}} | {{{info-image}}} }} | ||
+ | |||
+ | <div class="header">Information</div> | ||
+ | |||
+ | <table class="subheader"> | ||
+ | <tr> | ||
+ | <td>Plot:</td> | ||
+ | <td>{{{plot-name}}}</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>Storyteller:</td> | ||
+ | <td>{{{storyteller}}}</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>Risk:</td> | ||
+ | <td>{{{risk-level|0}}}</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>Spheres:</td> | ||
+ | <td>{{{spheres}}}</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>Type:</td> | ||
+ | <td>{{{plot-type|Contained}}}</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>Status:</td> | ||
+ | <td>{{{plot-status|Developing}}}</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </div> | ||
+ | |||
+ | <div id="rp-hooks"> | ||
+ | <div class="header">RP Hooks</div> | ||
+ | {{:{{PAGENAME}}/RP Hooks}} | ||
+ | <div class="edit-link">[{{fullurl:{{PAGENAME}}/RP Hooks|action=edit}} edit]</div> | ||
+ | </div> | ||
− | + | </div> | |
− | |||
− | |||
− | |||
− | |||
− | </div> | ||
− | <div | + | <div class="column left-side"> |
− | + | {{#if: {{{plot-image|}}} | {{{plot-image}}} }} | |
− | {{:{{ | ||
− | |||
− | |||
− | + | <div id="summary"> | |
− | <div id="summary"> | + | <div class="header">Summary</div> |
− | <div class="header">Summary</div> | + | {{:{{PAGENAME}}/Summary}} |
− | {{:{{PAGENAME}}/Summary}} | + | <div class="edit-link">[{{fullurl:{{PAGENAME}}/Summary|action=edit}} edit]</div> |
− | </div> | ||
− | + | </div> | |
− | |||
− | |||
− | </div> | ||
− | <div id=" | + | <div id="details"> |
− | <div class="header"> | + | <div class="header">Details</div> |
− | {{:{{PAGENAME}}/ | + | {{:{{PAGENAME}}/Details}} |
− | </div> | + | <div class="edit-link">[{{fullurl:{{PAGENAME}}/Details|action=edit}} edit]</div> |
+ | </div> | ||
− | <div id=" | + | <div id="participants"> |
− | <div class="header"> | + | <div class="header">Participants</div> |
− | {{:{{PAGENAME}}/ | + | {{:{{PAGENAME}}/Participants}} |
− | </div> | + | <div class="edit-link">[{{fullurl:{{PAGENAME}}/Participants|action=edit}} edit]</div> |
+ | </div> | ||
− | <div id=" | + | <div id="updates"> |
− | <div class="header"> | + | <div class="header">Updates</div> |
− | + | {{:{{PAGENAME}}/Updates}} | |
− | < | + | <div class="edit-link">[{{fullurl:{{PAGENAME}}/Updates|action=edit}} edit]</div> |
− | + | </div> | |
− | |||
− | |||
− | |||
− | |||
− | </ | ||
− | </div> | + | <div id="logs"> |
+ | <div class="header">Logs</div> | ||
+ | <DynamicPageList> | ||
+ | category=Logs | ||
+ | category={{FULLPAGENAME}} | ||
+ | ordermethod=sortkey | ||
+ | order=ascending | ||
+ | noresultsheader=''none'' | ||
+ | </DynamicPageList> | ||
+ | </div> | ||
+ | |||
+ | </div> | ||
+ | |||
</div> | </div> | ||
[[Category:Plots]] | [[Category:Plots]] | ||
+ | |||
+ | {{#switch: {{{plot-status}}} | Active = [[Category:Active_Plots]] | Complete = [[Category:Complete_Plots]] | Developing = [[Category:Developing_Plots]] | Haitus = [[Category:Haitus_Plots]] |Incomplete = [[Category:Incomplete_Plots]] }} | ||
</includeonly> | </includeonly> | ||
Line 144: | Line 179: | ||
</pre> | </pre> | ||
− | Then click on each of the | + | Then click on each of the links below each section to fill out the information in that section. |
You can use the following template parameters to customize the colors and text on the page. | You can use the following template parameters to customize the colors and text on the page. | ||
+ | |||
<pre> | <pre> | ||
| plot-name = | | plot-name = | ||
| storyteller = | | storyteller = | ||
+ | | risk-level = (see +policy [[Risk]]; defaults to 0) | ||
+ | | spheres = (list of spheres involved) | ||
+ | | plot-type = (eg Contained, Limited, or Open) | ||
+ | | plot-status = (current status of the plot, eg Developing, Active, Hiatus, Incomplete, or Complete; defaults to Developing) | ||
+ | | info-align = (alignment of the info column; defaults to left) | ||
+ | |||
+ | | plot-image = (an image url to display above the summary for the plot; optional, defaults to nothing) | ||
+ | | info-image = (an image url to display above the info section; optional, defaults to nothing) | ||
| page-color-bg = | | page-color-bg = | ||
| page-color-text = | | page-color-text = | ||
| page-border = | | page-border = | ||
+ | | column-border = | ||
| color-links = | | color-links = | ||
Line 163: | Line 208: | ||
</pre> | </pre> | ||
− | === | + | You can use the following template parameters to remove sections of the template by setting them to 'none'. |
− | + | ||
+ | <pre> | ||
+ | | display-information = | ||
+ | | display-rp-hooks = | ||
+ | | display-summary = | ||
+ | | display-details = | ||
+ | | display-participants = | ||
+ | | display-updates = | ||
+ | | display-logs = | ||
+ | </pre> | ||
+ | |||
+ | To use template parameters, include them after <code> {{:Template:Plot </code> but before the ending bracket. eg: | ||
+ | |||
+ | <pre> | ||
+ | {{ :Template:Plot | ||
+ | |||
+ | | plot-name = Penelope Pitstop in Peril | ||
+ | | storyteller = Dick Dasterdly | ||
+ | | risk-level = 2 | ||
+ | | spheres = [[Wacky-Racers]] | ||
+ | | plot-type = Open | ||
+ | | plot-status = Active | ||
+ | |||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | Adding the appropriate sphere and status categories to the wiki entry below the template section will have it automatically sorted into the proper places in the [[:Category:Plots|Plot List]]. NOTE: If you fill out <code>plot-status</code> according to one of the indicated values, the plot status category will be automatically placed for you. | ||
+ | |||
+ | Appropriate status categories are: | ||
<pre> | <pre> | ||
− | + | [[Category:Active_Plots]] - For plots currently active and running | |
− | + | [[Category:Complete_Plots]] - For plots that have reached their conclusion | |
− | + | [[Category:Developing_Plots]] - For plots that are currently being worked on and not yet ready for play | |
− | + | [[Category:Haitus_Plots]] - For plots that have paused for some reason, but there is every intention to continue | |
− | + | [[Category:Incomplete_Plots]] - For plots that have been abandoned | |
− | |||
− | |||
</pre> | </pre> | ||
+ | |||
+ | To have a log automatically included in the log list, add <code><nowiki>[[Category:Logs]]</nowiki></code> and <code><nowiki>[[Category:<FULLWIKINAME>]]</nowiki></code> (eg, <code><nowiki>[[Category:Plot:_Breaking_Up_the_Blockparty]]</nowiki></code>) to the log wiki page. | ||
+ | |||
+ | For a simple example of use, look here: [[Plot:_Breaking_Up_the_Blockparty]] | ||
</noinclude> | </noinclude> |
Latest revision as of 08:09, 24 September 2020
Plot Template
This is a template meant to help organize PRPs and provide a central depository for information regarding a specific one. It can be difficult to find all the related logs to a longer-running plot, for instance, and this is meant to help with that as well as give an organized space and archive for details of the plot.
Usage
Copy the following onto your new plot page:
{{ :Template:Plot }}
Then click on each of the links below each section to fill out the information in that section.
You can use the following template parameters to customize the colors and text on the page.
| plot-name = | storyteller = | risk-level = (see +policy [[Risk]]; defaults to 0) | spheres = (list of spheres involved) | plot-type = (eg Contained, Limited, or Open) | plot-status = (current status of the plot, eg Developing, Active, Hiatus, Incomplete, or Complete; defaults to Developing) | info-align = (alignment of the info column; defaults to left) | plot-image = (an image url to display above the summary for the plot; optional, defaults to nothing) | info-image = (an image url to display above the info section; optional, defaults to nothing) | page-color-bg = | page-color-text = | page-border = | column-border = | color-links = | color-links-hover = | color-headers-bg = | color-headers-text = | headers-radius = (use this if you want roundy corners on the headers; default 0)
You can use the following template parameters to remove sections of the template by setting them to 'none'.
| display-information = | display-rp-hooks = | display-summary = | display-details = | display-participants = | display-updates = | display-logs =
To use template parameters, include them after {{:Template:Plot
but before the ending bracket. eg:
{{ :Template:Plot | plot-name = Penelope Pitstop in Peril | storyteller = Dick Dasterdly | risk-level = 2 | spheres = [[Wacky-Racers]] | plot-type = Open | plot-status = Active }}
Adding the appropriate sphere and status categories to the wiki entry below the template section will have it automatically sorted into the proper places in the Plot List. NOTE: If you fill out plot-status
according to one of the indicated values, the plot status category will be automatically placed for you.
Appropriate status categories are:
[[Category:Active_Plots]] - For plots currently active and running [[Category:Complete_Plots]] - For plots that have reached their conclusion [[Category:Developing_Plots]] - For plots that are currently being worked on and not yet ready for play [[Category:Haitus_Plots]] - For plots that have paused for some reason, but there is every intention to continue [[Category:Incomplete_Plots]] - For plots that have been abandoned
To have a log automatically included in the log list, add [[Category:Logs]]
and [[Category:<FULLWIKINAME>]]
(eg, [[Category:Plot:_Breaking_Up_the_Blockparty]]
) to the log wiki page.
For a simple example of use, look here: Plot:_Breaking_Up_the_Blockparty