Difference between revisions of "Template:MetaplotInfobox"

From ShadowHaven Reloaded
Jump to navigation Jump to search
Line 8: Line 8:
|data7 = {{#if: {{{OwnersWikiUsername|}}} | [[hasOwner::User:{{{OwnersWikiUsername}}}|{{{OwnersWikiUsername}}}]] }}  
|data7 = {{#if: {{{OwnersWikiUsername|}}} | [[hasOwner::User:{{{OwnersWikiUsername}}}|{{{OwnersWikiUsername}}}]] }}  
|label8= Public/Private status
|label8= Public/Private status
|data8 = {{{PublicRun}}}
|data8 = {{#ifeq: {{{PublicPlot|Yes}}} | [[isPublic::Yes| ]] Public | [[isPublic::No| ]] Private}}
|label9= Status
|label9= Status
|data9 = {{#ifeq: {{{IsPlotComplete|No}}} | Yes | [[hasStatus::Complete]] [[Category:Finished Metaplot]] | {{#ifexpr: {{#ask: [[Category:Runs]][[hasMetaplot::{{FULLPAGENAME}}]][[hasDate::>{{#time: Y-m-d |now +61 years -6 months}}]]|format=count}} > 0 | [[hasStatus::Active]] [[Category:Active Metaplot]] | [[hasStatus::Stale]] [[Category:Stale Metaplot]] }} }}
|data9 = {{#ifeq: {{{IsPlotComplete|No}}} | Yes | [[hasStatus::Complete]] [[Category:Finished Metaplot]] | {{#ifexpr: {{#ask: [[Category:Runs]][[hasMetaplot::{{FULLPAGENAME}}]][[hasDate::>{{#time: Y-m-d |now +61 years -6 months}}]]|format=count}} > 0 | [[hasStatus::Active]] [[Category:Active Metaplot]] | [[hasStatus::Stale]] [[Category:Stale Metaplot]] }} }}
Line 22: Line 22:
|OwnersDiscordName=
|OwnersDiscordName=
|OwnersWikiUsername=
|OwnersWikiUsername=
|PublicRun=Public  <!-- Change to Private if you don't want other GMs making use of this metaplot. -->
|PublicPlot=Yes <!-- Change to No if this is a private metaplot. -->
|IsPlotComplete=No  <!-- Change this to Yes once the metaplot has concluded. -->
|IsPlotComplete=No  <!-- Change this to Yes once the metaplot has concluded. -->
}}</pre>
}}</pre>
</noinclude>
</noinclude>

Revision as of 00:46, 31 October 2025

MetaplotInfobox
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=
|PublicPlot=Yes <!-- Change to No if this is a private metaplot. -->
|IsPlotComplete=No  <!-- Change this to Yes once the metaplot has concluded. -->
}}