4,821
editsAd placeholder
Template:Template demo: Difference between revisions
Jump to navigation
Jump to search
m
Updated documentation
mNo edit summary |
m (Updated documentation) |
||
Line 19: | Line 19: | ||
This template is designed to easily demo template usage and is intended for use within template documentation pages. It lets you display a set of template examples with the markup and rendered output displayed side-by-side. | This template is designed to easily demo template usage and is intended for use within template documentation pages. It lets you display a set of template examples with the markup and rendered output displayed side-by-side. | ||
== Usage == | |||
This template has two styles: a two-column table (<code>style = table</code>) and a list (<code>style = list</code>). The table is appropriate for shorter, inline templates. For larger templates, the list style may be preferred. | This template has two styles: a two-column table (<code>style = table</code>) and a list (<code>style = list</code>). The table is appropriate for shorter, inline templates. For larger templates, the list style may be preferred. | ||
Line 54: | Line 55: | ||
{{Template demo | {{Template demo | ||
| style = list | | style = list | ||
| <nowiki>{{ | | <nowiki> | ||
{{Quote fancy | |||
| quote = The operations of these huge steel juggernauts are powered by engines of churning hellfire. | | quote = The operations of these huge steel juggernauts are powered by engines of churning hellfire. | ||
| image = Portrait Steel Watcher.png | | image = Portrait Steel Watcher.png | ||
| link = Adamantine Golem | | link = Adamantine Golem | ||
}}</nowiki> | }} | ||
| <nowiki>{{ | </nowiki> | ||
| <nowiki> | |||
{{Quote fancy | |||
| quote = These levitating eyes transmit all that they see to the one who created them. | | quote = These levitating eyes transmit all that they see to the one who created them. | ||
| image = Portrait Scrying Eye.png | | image = Portrait Scrying Eye.png | ||
Line 66: | Line 70: | ||
| rounding = 20% | | rounding = 20% | ||
| font-size = 100% | | font-size = 100% | ||
}}</nowiki> | }} | ||
</nowiki> | |||
}} | }} | ||
</pre> | </pre> | ||
Line 73: | Line 78: | ||
{{Template demo | {{Template demo | ||
| style = list | | style = list | ||
| <nowiki>{{ | | <nowiki> | ||
{{Quote fancy | |||
| quote = The operations of these huge steel juggernauts are powered by engines of churning hellfire. | | quote = The operations of these huge steel juggernauts are powered by engines of churning hellfire. | ||
| image = Portrait Steel Watcher.png | | image = Portrait Steel Watcher.png | ||
| link = Adamantine Golem | | link = Adamantine Golem | ||
}}</nowiki> | }} | ||
| <nowiki>{{ | </nowiki> | ||
| <nowiki> | |||
{{Quote fancy | |||
| quote = These levitating eyes transmit all that they see to the one who created them. | | quote = These levitating eyes transmit all that they see to the one who created them. | ||
| image = Portrait Scrying Eye.png | | image = Portrait Scrying Eye.png | ||
Line 85: | Line 93: | ||
| rounding = 20% | | rounding = 20% | ||
| font-size = 100% | | font-size = 100% | ||
}}</nowiki> | }} | ||
</nowiki> | |||
}} | }} | ||