Template:ItemTableGeneric: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude>Use this when you want to tabulate an item list as consistent and monoelemental as listing strictly the item names. Use [[Template:ITG]] to construct data rows as an argument to {{{Contents}}}.</noinclude> | <noinclude>Use this when you want to tabulate an item list as consistent and monoelemental as listing strictly the item names. Use [[Template:ITG]] to construct data rows as an argument to {{{Contents}}}.</noinclude> | ||
<includeonly> | <includeonly>{{#vardefine:border|#{{{{{Type|Normal}}}_color_dark}}}}{{#vardefine:background|#{{{{{Type|Normal}}}_color}}}}{{#vardefine:cell|#{{{{{Type|Normal}}}_color_light}}}} | ||
{{#vardefine:border|#{{{{{Type|Normal}}}_color_dark}}}} | |||
{{#vardefine:background|#{{{{{Type|Normal}}}_color}}}} | |||
{{#vardefine:cell|#{{{{{Type|Normal}}}_color_light}}}} | |||
<table style="width: 35%; padding: 5px; text-align: center; background-color: {{#var:background}}; border: 3px solid {{#var:border}}; border-radius: 25px; border-spacing: 5px;"> | <table style="width: 35%; padding: 5px; text-align: center; background-color: {{#var:background}}; border: 3px solid {{#var:border}}; border-radius: 25px; border-spacing: 5px;"> | ||
<tr><th colspan="2" style="background-color: {{#var:cell}}; border: 1px solid {{#var:border}}; border-radius: 25px 25px 1px 1px; color:{{#var:border}}; font-weight: bold;">Items</th></tr> | <tr><th colspan="2" style="background-color: {{#var:cell}}; border: 1px solid {{#var:border}}; border-radius: 25px 25px 1px 1px; color:{{#var:border}}; font-weight: bold;">Items</th></tr> | ||
Revision as of 05:01, 17 February 2017
Use this when you want to tabulate an item list as consistent and monoelemental as listing strictly the item names. Use Template:ITG to construct data rows as an argument to {{{Contents}}}.