Difference between revisions of "Template:MetaplotInfobox"

From ShadowHaven Reloaded
Jump to navigation Jump to search
Line 1: Line 1:
{{Infobox
{{Infobox
|bodystyle  = max-width:{{{MaxWidth|33}}}% <!-- In case adjustments are necessary -->
|bodystyle  = max-width:{{{MaxWidth|33}}}% <!-- In case adjustments are necessary -->
|title = {{PAGENAME}}
|title = [[Name::{{PAGENAME}}]]
|image= {{#if: {{{Image|}}}|{{{Image|}}}| }}  
|image= {{#if: {{{Image|}}}|{{{Image|}}}| }}  
|label5= Discord
|label5= Discord
|data5= {{{OwnersDiscordName|}}}
|data5= {{{OwnersDiscordName|}}}
|label7= Wiki User
|label7= Wiki User
|data7 = {{#if: {{{OwnersWikiUsername|}}} | [[User:{{{OwnersWikiUsername}}}|{{{OwnersWikiUsername}}}]] }}  
|data7 = {{#if: {{{OwnersWikiUsername|}}} | [[Owner::{{{OwnersWikiUsername}}}|{{{OwnersWikiUsername}}}]] }}  
|label8= Public/Private status
|label8= Public/Private status
|data8 = {{{PublicRun}}}
|data8 = {{{PublicRun}}}
|label9= Status
|label9= Status
|data9 = {{#ifeq: {{{IsPlotComplete|No}}} | Yes | Complete [[Category:Finished Metaplot]] | {{#ifexpr: {{#ask: [[Category:Runs]][[hasMetaplot::{{FULLPAGENAME}}]][[hasDate::>{{#time: Y-m-d |now +61 years -6 months}}]]|format=count}} > 0 | Active [[Category:Active Metaplot]] | Stale [[Category:Stale Metaplot]] }} }}
|data9 = {{#ifeq: {{{IsPlotComplete|No}}} | Yes | [[Status::Complete]] [[Category:Finished Metaplot]] | {{#ifexpr: {{#ask: [[Category:Runs]][[hasMetaplot::{{FULLPAGENAME}}]][[hasDate::>{{#time: Y-m-d |now +61 years -6 months}}]]|format=count}} > 0 | [[Status::Active]] [[Category:Active Metaplot]] | [[Status::Stale]] [[Category:Stale Metaplot]] }} }}
}}
}}
<noinclude>
<noinclude>

Revision as of 19:37, 30 October 2025

MetaplotInfobox
Public/Private status{{{PublicRun}}}
StatusStale

Usage

This template is designed to simplify the creation of new group contact pages and automatically tag things with SemanticWiki markup where appropriate. All fields aside from Image and Shortblurb are required.

{{MetaplotInfobox
|Image=
|OwnersDiscordName=
|OwnersWikiUsername=
|PublicRun=Public  <!-- Change to Private if you don't want other GMs making use of this metaplot. -->
|IsPlotComplete=No  <!-- Change this to Yes once the metaplot has concluded. -->
}}