Actions

Template

Difference between revisions of "CharacterGallery"

From Sonic Retro

(Created page with "<includeonly> {{#dpl: |category={{{1}}} |include={CharacterBob}:image1,{CharacterBob}:image1,{CharacterBob}:charname,{CharacterBob}:charname,{CharacterBob}:charname,{Character...")
 
m
 
Line 8: Line 8:
 
|secseparators = <div class="posrel shadow" style="float:left;margin:10px">²{#ifexist:File:,,¦²{Bobscreen¦,,¦height=144¦link=%PAGE%}²¦[[Image:Notavailable.svg{{!}}x144px{{!}}link=%PAGE%]]}²<br><span class="posabs" style="background:#000;opacity: 0.8;left:0;bottom:0;right:0;padding:5px;text-align:left;">²{#if:,,¦<span style="font-size:110%">'''[[,,¦<span style="color:#fff;filter: alpha(opacity=100)">,,</span>]]'''</span>¦<span style="font-size:110%;">'''[[%PAGE%¦<span style="color:#fff;filter: alpha(opacity=100)">%PAGE%</span>]]'''</span>}² ²{#ifeq:{{{gameTitle}}}¦hide¦<span style="display:none">¦<br />}²''[[,,¦<span style="color:#fff;filter: alpha(opacity=100)">,</span>]]''²{#ifeq:{{{gameTitle}}}¦hide¦</span>¦}²</span></div>  \n  
 
|secseparators = <div class="posrel shadow" style="float:left;margin:10px">²{#ifexist:File:,,¦²{Bobscreen¦,,¦height=144¦link=%PAGE%}²¦[[Image:Notavailable.svg{{!}}x144px{{!}}link=%PAGE%]]}²<br><span class="posabs" style="background:#000;opacity: 0.8;left:0;bottom:0;right:0;padding:5px;text-align:left;">²{#if:,,¦<span style="font-size:110%">'''[[,,¦<span style="color:#fff;filter: alpha(opacity=100)">,,</span>]]'''</span>¦<span style="font-size:110%;">'''[[%PAGE%¦<span style="color:#fff;filter: alpha(opacity=100)">%PAGE%</span>]]'''</span>}² ²{#ifeq:{{{gameTitle}}}¦hide¦<span style="display:none">¦<br />}²''[[,,¦<span style="color:#fff;filter: alpha(opacity=100)">,</span>]]''²{#ifeq:{{{gameTitle}}}¦hide¦</span>¦}²</span></div>  \n  
 
}}
 
}}
</includeonly><noinclude>{{cleanup}}
+
</includeonly><noinclude>{{cleanup|Problems with the formatting, specially what happens to the text that appears after the template.}}
 
==Usage==
 
==Usage==
 
Use with a category that includes character articles to create a gallery of those characters.  In order for this to work properly, level articles need to be using [[:Template:CharacterBob]].  For example, this:
 
Use with a category that includes character articles to create a gallery of those characters.  In order for this to work properly, level articles need to be using [[:Template:CharacterBob]].  For example, this:
Line 14: Line 14:
 
produces this:
 
produces this:
 
{{CharacterGallery|Sonic transformations}}
 
{{CharacterGallery|Sonic transformations}}
 
 
 
 
 
 
 
 
 
 
  
 
Add <tt>gameTitle=hide</tt> to hide the game title:
 
Add <tt>gameTitle=hide</tt> to hide the game title:

Latest revision as of 06:17, 11 May 2024

Sonicretro-round.svg This article needs cleanup.
This article needs to be edited to conform to a higher standard of article quality. Specifically, issues with this article are:
Problems with the formatting, specially what happens to the text that appears after the template.

After the article has been cleaned up, you may remove this message. See How to Edit a Page for help.

Usage

Use with a category that includes character articles to create a gallery of those characters. In order for this to work properly, level articles need to be using Template:CharacterBob. For example, this:

{{CharacterGallery|Sonic transformations}}

produces this:


Add gameTitle=hide to hide the game title:

{{CharacterGallery|Sonic transformations|gameTitle=hide}}