Actions

Template

Difference between revisions of "HiddenContent"

From Sonic Retro

 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>==={{{title|}}}===
+
<includeonly><div>{{#if:{{{image1|}}}|{{#ifexpr:{{#mediawidth:{{{image1|}}}}} > 320|{{#vardefine:width|320}}|{{#vardefine:width|}}}}|}}{{
{{#if:{{{image1|}}}|{{#ifexpr:{{#mediawidth:{{{image1|}}}}} > 320|{{#vardefine:width|320}}|{{#vardefine:width|}}}}|}}{{
+
#if:{{{image1|}}}|{{Bobscreen|{{{image1|}}}|width={{#var:width}}|noresize={{{noresize1|}}}}} {{
#if:{{{image1|}}}|{{Bobscreen|{{{image1|}}}|width={{#var:width}}}} {{#if:{{{image2|}}}|{{Bobscreen|{{{image2|}}}|width={{#var:width}}}}}} {{#if:{{{image3|}}}|{{Bobscreen|{{{image3|}}}|width={{#var:width}}}}}} {{#if:{{{image4|}}}|{{Bobscreen|{{{image4|}}}|width={{#var:width}}}}}} {{#if:{{{image5|}}}|{{Bobscreen|{{{image5|}}}|width={{#var:width}}}}}} {{#if:{{{image6|}}}|{{Bobscreen|{{{image6|}}}|width={{#var:width}}}}}} {{#if:{{{image7|}}}|{{Bobscreen|{{{image7|}}}|width={{#var:width}}}}}} {{#if:{{{image8|}}}|{{Bobscreen|{{{image8|}}}|width={{#var:width}}}}}}   {{#if:{{{image9|}}}|{{Bobscreen|{{{image9|}}}|width={{#var:width}}}}}}   {{#if:{{{image10|}}}|{{Bobscreen|{{{image10|}}}|width={{#var:width}}}}}}|{{#ifeq:{{{noimage|}}}|yes||[[File:Notavailable.svg]]}}}}  
+
#if:{{{image2|}}}|{{Bobscreen|{{{image2|}}}|width={{#var:width}}|noresize={{{noresize2|}}}}}}} {{
+
#if:{{{image3|}}}|{{Bobscreen|{{{image3|}}}|width={{#var:width}}|noresize={{{noresize3|}}}}}}} {{
{{{desc|}}}[[Category:Hidden content]]</includeonly><noinclude>[[Category:Sonic Retro templates]]
+
#if:{{{image4|}}}|{{Bobscreen|{{{image4|}}}|width={{#var:width}}|noresize={{{noresize4|}}}}}}} {{
 +
#if:{{{image5|}}}|{{Bobscreen|{{{image5|}}}|width={{#var:width}}|noresize={{{noresize5|}}}}}}} {{
 +
#if:{{{image6|}}}|{{Bobscreen|{{{image6|}}}|width={{#var:width}}|noresize={{{noresize6|}}}}}}} {{
 +
#if:{{{image7|}}}|{{Bobscreen|{{{image7|}}}|width={{#var:width}}|noresize={{{noresize7|}}}}}}} {{
 +
#if:{{{image8|}}}|{{Bobscreen|{{{image8|}}}|width={{#var:width}}|noresize={{{noresize8|}}}}}}} {{
 +
#if:{{{image9|}}}|{{Bobscreen|{{{image9|}}}|width={{#var:width}}|noresize={{{noresize9|}}}}}}} {{
 +
#if:{{{image10|}}}|{{Bobscreen|{{{image10|}}}|width={{#var:width}}|noresize={{{noresize10|}}}}}}}|{{
 +
#ifeq:{{{noimage|}}}|yes||[[File:Notavailable.svg]][[Category:Missing hidden content image]]}}}}</div>
 +
<span>{{{desc|}}}</span>{{#ifeq:{{NAMESPACE}}||[[Category:Hidden content]]|}}</includeonly><noinclude>[[Category:Templates]]
 +
For use on [[:Category:Hidden content|hidden content]] pages.
 +
==Usage==
 
<pre>
 
<pre>
 
{{HiddenContent
 
{{HiddenContent
| title=
 
 
| image1=
 
| image1=
 
| desc=
 
| desc=
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
 +
If no image is required for the content in question, use the following in place of "image1":
 +
 +
<pre>| noimage=yes</pre>
 +
 +
==Examples==
 
{{HiddenContent
 
{{HiddenContent
| title=Make Jeffry Dance
 
 
| image1=Sonic Adventure title.png
 
| image1=Sonic Adventure title.png
 
| image2=Sonic Adventure title.png
 
| image2=Sonic Adventure title.png
Line 19: Line 34:
 
}}
 
}}
 
{{HiddenContent
 
{{HiddenContent
| title=Make Wolf Dance
 
 
| desc=Wolf isn't in the game so can't dance.
 
| desc=Wolf isn't in the game so can't dance.
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 19:19, 1 January 2022

For use on hidden content pages.

Usage

{{HiddenContent
| image1=
| desc=
}}


If no image is required for the content in question, use the following in place of "image1":

| noimage=yes

Examples

Sonic Adventure title.png
Sonic Adventure title.png
Sonic Adventure title.png

Jeffry Mcwild from Virtua Fighter appears as a statue in Sea-Side Street Galaxy. If the player comes to a stop nearby and repeatedly presses Start (X in the Saturn version), Jeffry will breakdance.

Notavailable.svg

Wolf isn't in the game so can't dance.