Difference between revisions of "Template:MetaplotInfobox"

From ShadowHaven Reloaded
Jump to navigation Jump to search
(Created page with "{{Infobox |title = {{PAGENAME}} |image= {{#if: {{{Image|}}}|{{{Image|}}}| 200px }} |label1 = Metaplot Owner's Discord |data1 = {{{DiscordName}}} |label2= Public/Private status |data2 = {{{publicRun}}} |label3 = Status |data3= {{{status}}} }} ==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...")
 
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
|title = {{PAGENAME}}
|bodystyle  = max-width:{{{MaxWidth|33}}}% <!-- In case adjustments are necessary -->
|image= {{#if: {{{Image|}}}|{{{Image|}}}| [[File:Placeholder2.jpg|200px]] }}
|title = [[Name::{{PAGENAME}}]]
|label1 = Metaplot Owner's Discord
|image= {{#if: {{{Image|}}}|{{{Image|}}}| }}
|data1 = {{{DiscordName}}}
|label5= Discord
|label2= Public/Private status
|data5= {{{OwnersDiscordName|}}}
|data2 = {{{publicRun}}}
|label7= Wiki User
|label3 = Status
|data7 = {{#if: {{{OwnersWikiUsername|}}} | [[hasOwner::User:{{{OwnersWikiUsername}}}|{{{OwnersWikiUsername}}}]] }}  
|data3= {{{status}}}
|label8= Public/Private status
|data8 = {{#ifeq: {{{PublicPlot|Yes}}} | No | Private [[isPublicPlot::No| ]] | Public [[isPublicPlot::Yes| ]] }}
|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]] }} }}
}}
}}
<noinclude>
==Usage==
==Usage==


Line 16: Line 20:
{{MetaplotInfobox
{{MetaplotInfobox
|Image=
|Image=
|DiscordName=Testname
|OwnersDiscordName=
|{PublicRun=Public/Private
|OwnersWikiUsername=
|{Status=Active
|PublicPlot=Yes <!-- Change to No if this is a private metaplot. -->
|IsPlotComplete=No  <!-- Change this to Yes once the metaplot has concluded. -->
}}</pre>
}}</pre>
</noinclude>
</noinclude>

Latest revision as of 01:04, 31 October 2025

MetaplotInfobox
Public/Private statusPublic
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. -->
}}