Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:FilterByGame/1: Difference between revisions

Template page
m (add captions)
m (add minor note)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><div data-game="Game {{{games|}}}" class="filter-element" style="display:inline-block; margin-bottom:1em;"><div style="display:inline-block;">{{{image|}}}</div><br/><div>{{{caption|}}}</div></div></div></includeonly><noinclude>
<includeonly><!--
* "data-game" must match the specified "attributeName" in Template:FilterByGame.
* the class must match the specified "nameOfElementToFilter" in Template:FilterByGame.
--><div data-game="Game {{{games|}}}" class="filter-element" style="display:inline-block; margin-bottom:1em;"><div style="display:inline-block;">{{{image|}}}</div><br/><div>{{{caption|}}}</div></div></includeonly><noinclude>
To be used with [[Template:FilterByGame]]. Describes one item of the FilterByGame template.
To be used with [[Template:FilterByGame]]. Describes one item of the FilterByGame template.
==Usage==
==Usage==
Line 9: Line 12:
}}
}}
</nowiki></pre>
</nowiki></pre>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 23:45, 17 October 2018

To be used with Template:FilterByGame. Describes one item of the FilterByGame template.

Usage

{{FilterByGame/1
| games = BBCT BBCS BBCSEX BBCP BBCPEX BBCF BBTAG (separate multiple games with spaces)
| image = [[File:example.png|300px]] for example
| caption = bleh
}}