Template:Player Gallery: Difference between revisions
From SoS Ledger
No edit summary |
No edit summary |
||
(3 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 10: | Line 8: | ||
<code><nowiki> | <code><nowiki> | ||
{{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 | ||
}} | }} | ||
</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 | 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
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.
|
This template is used to create an optional gallery section for player pages.
Usage:
{{#if:File:Image1.jpg|
Gallery
}}