Welcome to IOPWiki, Commander.
With the release of the Global Beta, we encourage contributions to topics related to Girls' Frontline 2. Learn how to contribute and join our Discord server to discuss major changes.

Template:GameThumb: Difference between revisions

Welcome to IOP Wiki. This website is maintained by the Girls' Frontline community and is free to edit by anyone.
Jump to navigation Jump to search
Using thumb instead of full image
Using the sandbox approach
 
Line 1: Line 1:
<includeonly><div class="game-thumb"><img class="game-thumb-img" src="{{filepath:{{{2|}}}|400}}" width="230" height="125"><span class="game-thumb-link">[[{{{1|}}}]]</span>
<includeonly><div class="game-thumb">[[File:{{{2|}}}|frameless|230px|class=game-thumb-img|alt={{{1|}}}]]<span class="game-thumb-link">[[{{{1|}}}]]</span>
</div></includeonly><noinclude>{{Documentation}}</noinclude>
</div></includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 03:22, 21 July 2024

Documentation icon Template documentation[view] [edit] [history] [purge]

A single element of the GameThumbContainer. Displays an image with a link.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page name1

The page name to link to

Example
Project Neural Cloud
Page namerequired
Image2

An image used as background which describes the linked game best.

Example
PNC_Loading_Screen_17.png
Filerequired

Usage[edit]

See the template's testcases:


Call without parameter
Wiki code
{{GameThumb}}
Main version
[[File:|frameless|230px|class=game-thumb-img|alt=]][[]]
Sandbox version
[[File:|frameless|230px|class=game-thumb-img|alt=]][[]]
Call outside container
Wiki code
{{GameThumb|Project Neural Cloud|PNC_Loading_Screen_17.png}}
Main version
Sandbox version
Proper call
Wiki code
{{GameThumbContainer|
{{GameThumb|Project Neural Cloud|PNC_Loading_Screen_17.png}}
{{GameThumb/sandbox|Girls' Frontline 2: Exilium|GFL2_2023_Banner.jpg}}
}}
Main version
Sandbox version

See also[edit]