Template:Player Gallery: Difference between revisions
From SoS Ledger
Created page with "{{subst:How to use}} <noinclude>This template is used to create a gallery section for player pages.</noinclude><includeonly> {{#if:{{{images|}}}| == Gallery == <gallery> {{{images}}} </gallery> }} </includeonly>" |
No edit summary |
||
(5 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> | ||
|- | |- | ||
! colspan="2" style="text-align: left; background-color: #eee; font-weight: normal; padding: 0.4em 0.6em;" | | ! colspan="2" style="text-align: left; background-color: #eee; font-weight: normal; padding: 0.4em 0.6em;" | This template is included by default into the Player Page template. | ||
|- | |- | ||
| colspan="2" style="padding: 0.4em 0.6em;" | | | 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. | |||
<code><nowiki> | <code><nowiki> | ||
{{PlayerGallery|images= | |||
File:PlayerName_Card.jpg|Player Card | |||
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
}}