Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Template:Featured In: Difference between revisions

Template page
Content deleted Content added
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<templatestyles src="Featured_In/styles.css"/>
<includeonly><templatestyles src="Featured In/styles.css"/>{{#tag:details|
<summary class="template-featured_in-title">{{{title|Featured In}}}</summary><div class="template-featured_in-content"><!--
<includeonly>
-->{{#if:{{{major_appearances|}}}|<div class="template-featured_in-section"><div class="template-featured_in-section-header">Major Appearances</div>
{| class="featured_in_table"
<div class="template-featured_in-section-content">
|-
{{#if:{{{title|}}}|
{{{major_appearances}}}
</div></div>}}<!--
!class="featured_title_cell" {{!}} {{{title}}}|!class="featured_title_cell" {{!}} Featured In}}
-->{{#if:{{{minor_appearances|}}}|<div class="template-featured_in-section"><div class="template-featured_in-section-header">Minor Appearances</div>
{{#if:{{{major_appearances|}}}|
<div class="template-featured_in-section-content">
{{!}}-
{{{minor_appearances}}}
{{!}}<p class="section_title"> Major Appearances</p>
</div></div>}}<!--
<p class="featured_in_list"> {{{major_appearances}}}</p>
-->{{#if:{{{mentioned|}}}|<div class="template-featured_in-section"><div class="template-featured_in-section-header">Mentioned</div>
}}
<div class="template-featured_in-section-content">
{{#if:{{{minor_appearances|}}}|
{{!}}-
{{{mentioned}}}
</div></div>}}<!--
{{!}}<p class="section_title"> Minor Appearances</p>
-->{{#if:{{{as_setting|}}}|<div class="template-featured_in-section"><div class="template-featured_in-section-header">As Setting</div>
<p class="featured_in_list"> {{{minor_appearances}}}</p>
<div class="template-featured_in-section-content">
}}
{{#if:{{{mentioned|}}}|
{{{as_setting}}}
</div></div>}}<!--
{{!}}-
--></div>
{{!}} <p class="section_title"> Mentioned</p>
|class=template-featured_in floatright noexcerpt
<p class="featured_in_list"> {{{mentioned}}}</p>
|open={{yesno|{{yesno-no|{{{open|}}}}}|yes=yes|no=no}}
}}
}}</includeonly><noinclude>
{{#if:{{{as_setting|}}}|
<templatedata>
{{!}}-
{
{{!}}<p class="section_title"> As Setting</p>
"params": {
<p class="featured_in_list"> {{{as_setting}}}</p>
"title": {
}}
"suggested": true,
|}
"label": "Title",
"type": "string"
},
"major_appearances": {
"suggested": true,
"label": "Major appearances",
"type": "content"
},
"minor_appearances": {
"suggested": true,
"label": "Minor appearances",
"type": "content"
},
"mentioned": {
"suggested": true,
"label": "Mentioned",
"type": "content"
},
"as_setting": {
"suggested": true,
"label": "Tales that take place here",
"type": "content"
}
},
"format": "block"
}
</templatedata>


</includeonly><noinclude>
== Usage ==
== Usage ==
<syntaxhighlight lang="wikitext" copy>
<pre>
{{Featured In
{{Campaignbox
|title = Campaign Name
|title=
|major_appearances=
|color = #FFFFFF
|minor_appearances=
|features = [[Battle 1]] • [[Battle 2]] • [[Battle 3]]
|mentioned=
|notes = Optional notes
|as_setting=
|open=
}}
}}
</syntaxhighlight>
</pre>


== Example ==
== Example ==
<syntaxhighlight lang="wikitext">
{{Featured In
{{Featured In
|title =
|title=Example
|major_appearances=Tale 1, Tale 2, Epilogue
|color=111111
|minor_appearances=Tale 3
|major_appearances = [[Pearl Harbor]] • [[Battle of Midway]] • [[Guadalcanal Campaign]] • [[Battle of Iwo Jima]] • [[Battle of Okinawa]]
|mentioned=Other Series 4
|minor_appearances=Hey
|as_setting=Tale 9
|mentioned=Yo
|open=yes
|as_setting=My waifu
}}
</syntaxhighlight>
{{Featured In
|title=Example
|major_appearances=Tale 1, Tale 2, Epilogue
|minor_appearances=Tale 3
|mentioned=Other Series 4
|as_setting=Tale 9
|open=yes
}}
}}

<templatedata>
{
"params": {
"title": {
"suggested": true,
"description":"The Title"
},
"color": {
"suggested": true,
"description":"Don't forget the hashtag"
},
"major_appearances": {
"suggested": true,
"description":"Major appearances"
},
"minor_appearances": {
"suggested": true,
"description":"Minor appearances"
},
"mentioned": {
"suggested": true,
"description":"Mentioned"
},
"as_setting": {
"suggested": true,
"description":"Tales that take place here"
}},"format":"block"}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 03:44, July 4, 2025

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

no description

Stringsuggested
Major appearancesmajor_appearances

no description

Contentsuggested
Minor appearancesminor_appearances

no description

Contentsuggested
Mentionedmentioned

no description

Contentsuggested
Tales that take place hereas_setting

no description

Contentsuggested

Usage

{{Featured In
|title=
|major_appearances=
|minor_appearances=
|mentioned=
|as_setting=
|open=
}}

Example

{{Featured In
|title=Example
|major_appearances=Tale 1, Tale 2, Epilogue 
|minor_appearances=Tale 3
|mentioned=Other Series 4
|as_setting=Tale 9
|open=yes
}}