More actions
(helper template to Template:FilterByGame. Describes one item of the FilterByGame template.) |
m (add minor note) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div data-game="{{{games|}}}" class="filter-element">{{{image|}}}</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 6: | Line 9: | ||
| games = BBCT BBCS BBCSEX BBCP BBCPEX BBCF BBTAG (separate multiple games with spaces) | | games = BBCT BBCS BBCSEX BBCP BBCPEX BBCF BBTAG (separate multiple games with spaces) | ||
| image = [[File:example.png|300px]] for example | | image = [[File:example.png|300px]] for example | ||
| caption = bleh | |||
}} | }} | ||
</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 }}