Template:Player Gallery: Difference between revisions

From SoS Ledger
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>{| class="infobox" style="width: 100%; font-size: 90%; line-height: 1.5em; border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0 0 1em 1em; padding: 0.2em;"
 
{| class="infobox" style="width: 100%; font-size: 90%; line-height: 1.5em; border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0 0 1em 1em; padding: 0.2em;"
|+ <big>'''Template Usage'''</big>
|+ <big>'''Template Usage'''</big>
|-
|-
Line 8: Line 6:
| colspan="2" style="padding: 0.4em 0.6em;" |If you wish to add the gallery, simply upload an image, then change "PlayerName_Card.jpg" or "PlayerName_Settlement.jpg" to the name on your uploaded image. You can also add more images by adding more lines.
| colspan="2" style="padding: 0.4em 0.6em;" |If you wish to add the gallery, simply upload an image, then change "PlayerName_Card.jpg" or "PlayerName_Settlement.jpg" to the name on your uploaded image. You can also add more images by adding more lines.
If you however wish to not have a gallery, you can either leave it empty, or remove it entirely.
If you however wish to not have a gallery, you can either leave it empty, or remove it entirely.
<code><nowiki>
<code><nowiki>
<noinclude>{{PlayerGallery|images=
{{PlayerGallery|images=
File:PlayerName_Card.jpg|Player Card
File:PlayerName_Card.jpg|Player Card
File:PlayerName_Settlement.jpg|Settlement Screenshot
File:PlayerName_Settlement.jpg|Settlement Screenshot
}}
}}
</noinclude>
</nowiki></code>
</nowiki></code>
|}
|}
</noinclude>


 
<noinclude>This template is used to create an optional gallery section for player pages.
<noinclude>This template is used to create a gallery section for player pages.</noinclude><includeonly>
Usage: {{PlayerGallery|images=
File:Image1.jpg|Caption 1
File:Image2.jpg|Caption 2
}}
</noinclude><includeonly>
{{#if:{{{images|}}}|
{{#if:{{{images|}}}|
== Gallery ==
== Gallery ==

Latest revision as of 15:51, 27 July 2025

Template Usage
This template is included by default into the Player Page template.
If you wish to add the gallery, simply upload an image, then change "PlayerName_Card.jpg" or "PlayerName_Settlement.jpg" to the name on your uploaded image. You can also add more images by adding more lines.

If you however wish to not have a gallery, you can either leave it empty, or remove it entirely.

{{PlayerGallery|images= File:PlayerName_Card.jpg|Player Card File:PlayerName_Settlement.jpg|Settlement Screenshot }}


This template is used to create an optional gallery section for player pages. Usage:


{{#if:File:Image1.jpg|

}}