Template: Four-buttons
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<templatestyles src="four-buttons/styles.css" /><div class="tpl-four-buttons"><!-- | <includeonly><templatestyles src="four-buttons/styles.css" /><div class="tpl-four-buttons"><!-- | ||
--> [[{{{page_1}}}|<span class="tpl-four-buttons-title">{{{title_1|{{{page_1}}}}}}</span> <span class="tpl-four-buttons-desc">{{{desc_1}}}</span>]]<!-- | --> [[{{{page_1}}}|<span class="tpl-four-buttons-title">{{{title_1|{{{page_1}}}}}}</span> <span class="tpl-four-buttons-desc">{{{desc_1}}}</span>]]<!-- | ||
--> [[{{{page_2}}}|<span class="tpl-four-buttons-title">{{{title_2|{{{page_2}}}}}}</span> <span class="tpl-four-buttons-desc">{{{desc_2}}}</span>]]<!-- | --> [[{{{page_2}}}|<span class="tpl-four-buttons-title">{{{title_2|{{{page_2}}}}}}</span> <span class="tpl-four-buttons-desc">{{{desc_2}}}</span>]]<!-- | ||
--> [[{{{page_3}}}|<span class="tpl-four-buttons-title">{{{title_3|{{{page_3}}}}}}</span> <span class="tpl-four-buttons-desc">{{{desc_3}}}</span>]]<!-- | --> [[{{{page_3}}}|<span class="tpl-four-buttons-title">{{{title_3|{{{page_3}}}}}}</span> <span class="tpl-four-buttons-desc">{{{desc_3}}}</span>]]<!-- | ||
--> [[{{{page_4}}}|<span class="tpl-four-buttons-title">{{{title_4|{{{page_4}}}}}}</span> <span class="tpl-four-buttons-desc">{{{desc_4}}}</span>]]<!-- | --> [[{{{page_4}}}|<span class="tpl-four-buttons-title">{{{title_4|{{{page_4}}}}}}</span> <span class="tpl-four-buttons-desc">{{{desc_4}}}</span>]]<!-- | ||
--></div> | --></div></includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 08:21, 14 October 2021
[edit] Template documentation
This template makes four buttons in a row (which collapse to two rows on mobile).
Usage
{{four-buttons | page_1 = | title_1 = | desc_1 = | page_2 = | title_1 = | desc_2 = | page_3 = | title_1 = | desc_3 = | page_4 = | title_1 = | desc_4 = }}
Example
{{four-buttons | page_1 = One | desc_1 = Desc one. | page_2 = Two | desc_2 = Desc two. | page_3 = Three | desc_3 = Desc three. | page_4 = Four | desc_4 = Desc four. }}
See also
- {{arrow button}}
- {{round button}}