Difference between revisions of "Template:Plot"

From City of Hope MUSH
Jump to navigation Jump to search
m
m
 
(92 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 +
 +
{{#css:Template:Plot/Plot.css}}
  
 
{{
 
{{
#css:Template:Plot/Plot.css
 
 
 
#css:
 
#css:
  
Line 9: Line 9:
 
     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}}} solid black;
+
     border: {{{page-border|2px solid black}}};
 
}
 
}
  
 
.left-side {
 
.left-side {
width: 75%;
+
    border: {{{column-border}}};
border: {{{page-border|2px}}} solid black;
 
 
}
 
}
  
 
.right-side {
 
.right-side {
width: 25%;
+
  border: {{{column-border}}};
    left: 75%;
+
}
float:right;
+
 
border: {{{page-border|2px}}} solid black;
+
.edit-link {
 +
  display: block;
 +
  width: 100%;
 +
  text-align: right;
 +
  font-size: small;
 +
}
 +
 
 +
#information {
 +
    display: {{{display-information|block}}}
 +
}
 +
 
 +
#rp-hooks {
 +
    display: {{{display-rp-hooks|block}}}
 +
}
 +
 
 +
#summary {
 +
    display: {{{display-summary|block}}}
 +
}
 +
 
 +
#details {
 +
    display: {{{display-details|block}}}
 +
}
 +
 
 +
#participants {
 +
    display: {{{display-participants|block}}}
 +
}
 +
 
 +
#updates {
 +
    display: {{{display-updates|block}}}
 +
}
 +
 
 +
#logs {
 +
    display: {{{display-logs|block}}}
 
}
 
}
  
 
}}
 
}}
  
<div id="page">
+
<div class="page">
 +
 
 +
    <div class="column right-side">
 +
 
 +
        <div id="information">
 +
{{#if: {{{info-image|}}} | {{{info-image}}} }}
 +
 
 +
            <div class="header">Information</div>
  
<div class="right-side">
+
            <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</div>
+
            <div class="header">RP Hooks</div>
<p>Plot: {{{plot-name}}}</p>
+
            {{:{{PAGENAME}}/RP Hooks}}
<p>Storyteller: {{{storyteller}}}</p>
+
            <div class="edit-link">[{{fullurl:{{PAGENAME}}/RP Hooks|action=edit}} edit]</div>
{{:{{PAGENAME}}/Information}}
+
        </div>
</div>
 
  
<div id="rp-hooks">
+
    </div>
<div class="header">RP Hooks</div>
 
{{:{{PAGENAME}}/RP Hooks}}
 
</div>
 
</div>
 
  
<div class="left-side">
+
    <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>
+
            <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>
+
        <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 106: 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 125: 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>
 +
| 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>
| position-information    = left, right, OR off (default: right)
+
[[Category:Active_Plots]]        - For plots currently active and running
| position-rp-hooks      = left, right, OR off (default: right)
+
[[Category:Complete_Plots]]      - For plots that have reached their conclusion
| position-summary        = left, right, OR off (default: left)
+
[[Category:Developing_Plots]]    - For plots that are currently being worked on and not yet ready for play
| position-details        = left, right, OR off (default: left)
+
[[Category:Haitus_Plots]]        - For plots that have paused for some reason, but there is every intention to continue
| position-participants  = left, right, OR off (default: left)
+
[[Category:Incomplete_Plots]]    - For plots that have been abandoned
| position-updates        = left, right, OR off (default: left)
 
| position-logs          = left, right, OR off (default: left)
 
 
</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