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 |
||
(One intermediate revision by the same user not shown) | |||
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>{{TODO}}{{cleanup|Unknown formatting issues, specially what happens to text that appears following a usage of the template, and also (but less important) what happens with certain debut game title texts. [see as reference the examples in this page]}} | ||
==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 15: | ||
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 18:47, 6 June 2024
|
This task is unfinished This is a wiki task that requires more thought or peer review. An important issue that needs to be solved, which will appear at the top of Sonic Retro:Todo until this message is removed. |
---|
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:
Unknown formatting issues, specially what happens to text that appears following a usage of the template, and also (but less important) what happens with certain debut game title texts. [see as reference the examples in this page]
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}}