Difference between revisions of "Template:Plot"

From City of Hope MUSH
Jump to navigation Jump to search
m
m
 
(105 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 {
+
.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: {{{position-rp-hooks|on}}}
+
     display: {{{display-rp-hooks|block}}}
    float: {{{position-rp-hooks|right}}}
 
    {{#switch: position-rp-hooks
 
| left = width: 75%;
 
| off = display: none;
 
| #default = width: 25%;
 
}}
 
 
 
 
}
 
}
  
 
#summary {
 
#summary {
     float: {{{position-summary|left}}};
+
     display: {{{display-summary|block}}}
    {{#switch: position-summary
 
| right = width: 25%;
 
| off = display: none;
 
| #default = width: 75%;
 
}}
 
 
}
 
}
  
 
#details {
 
#details {
     float: {{{position-details|left}}};
+
     display: {{{display-details|block}}}
    {{#switch: position-summary
 
| right = width: 25%;
 
| off = display: none;
 
| #default = width: 75%;
 
}}
 
 
}
 
}
  
 
#participants {
 
#participants {
     float: {{{position-participants|left}}};
+
     display: {{{display-participants|block}}}
    {{#switch: position-participants
 
| right = width: 25%;
 
| off = display: none;
 
| #default = width: 75%;
 
}}
 
 
}
 
}
  
 
#updates {
 
#updates {
     float: {{{position-updates|left}}};
+
     display: {{{display-updates|block}}}
    {{#switch: position-updates
 
| right = width: 25%;
 
| off = display: none;
 
| #default = width: 75%;
 
}}
 
 
}
 
}
  
 
#logs {
 
#logs {
     float: {{{position-logs|left}}};
+
     display: {{{display-logs|block}}}
    {{#switch: position-logs
 
| left = width: 25%;
 
| off = display: none;
 
| #default = width: 75%;
 
}}
 
 
}
 
}
  
 
}}
 
}}
  
<div id="page">
+
<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="information">
+
        <div id="rp-hooks">
<div class="header">Information: {{{plot-name}}}</div>
+
            <div class="header">RP Hooks</div>
<p>Storyteller: {{{storyteller}}}</p>
+
            {{:{{PAGENAME}}/RP Hooks}}
{{:{{PAGENAME}}/Information}}
+
            <div class="edit-link">[{{fullurl:{{PAGENAME}}/RP Hooks|action=edit}} edit]</div>
</div>
+
        </div>
 +
 
 +
    </div>
  
<div id="rp-hooks">
+
    <div class="column left-side">
<div class="header">RP Hooks</div>
+
{{#if: {{{plot-image|}}} | {{{plot-image}}} }}
{{:{{PAGENAME}}/RP Hooks}}
 
</div>
 
  
<div id="summary">
+
        <div id="summary">
<div class="header">Summary</div>
+
            <div class="header">Summary</div>
{{:{{FULLPAGENAME}}/Summary}}
+
            {{:{{PAGENAME}}/Summary}}
</div>
+
            <div class="edit-link">[{{fullurl:{{PAGENAME}}/Summary|action=edit}} edit]</div>
  
<div id="details">
+
        </div>
<div class="header">Details</div>
 
{{:{{PAGENAME}}/Details}}
 
</div>
 
  
<div id="participants">
+
        <div id="details">
<div class="header">Participants</div>
+
            <div class="header">Details</div>
{{:{{PAGENAME}}/Participants}}
+
            {{:{{PAGENAME}}/Details}}
</div>
+
            <div class="edit-link">[{{fullurl:{{PAGENAME}}/Details|action=edit}} edit]</div>
 +
        </div>
  
<div id="updates">
+
        <div id="participants">
<div class="header">Updates</div>
+
            <div class="header">Participants</div>
{{:{{PAGENAME}}/Updates}}
+
            {{:{{PAGENAME}}/Participants}}
</div>
+
            <div class="edit-link">[{{fullurl:{{PAGENAME}}/Participants|action=edit}} edit]</div>
 +
        </div>
  
<div id="logs">
+
        <div id="updates">
<div class="header">Logs</div>
+
            <div class="header">Updates</div>
</div>
+
            {{:{{PAGENAME}}/Updates}}
<DynamicPageList>
+
            <div class="edit-link">[{{fullurl:{{PAGENAME}}/Updates|action=edit}} edit]</div>
noresultsheader=''none''
+
        </div>
  category=Logs
 
  category={{FULLPAGENAME}}
 
  ordermethod=sortkey
 
  order=ascending
 
</DynamicPageList>
 
  
 +
        <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 140: Line 179:
 
</pre>
 
</pre>
  
Then click on each of the red links and fill out the information in that section.
+
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 159: Line 208:
 
</pre>
 
</pre>
  
=== Layout ===
+
You can use the following template parameters to remove sections of the template by setting them to 'none'.
The following template parameters will change the layout and positioning of several elements on the page.
+
 
 
<pre>
 
<pre>
| position-information    = left, right, OR off (default: right)
+
| display-information    =
| position-rp-hooks      = left, right, OR off (default: right)
+
| display-rp-hooks      =
| position-summary        = left, right, OR off (default: left)
+
| display-summary        =
| position-details        = left, right, OR off (default: left)
+
| display-details        =
| position-participants  = left, right, OR off (default: left)
+
| display-participants  =
| position-updates        = left, right, OR off (default: left)
+
| display-updates        =
| position-logs          = left, right, OR off (default: left)
+
| display-logs          =
 
</pre>
 
</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>
 +
[[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>
 +
 +
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