Template:SectionTable (AL): Difference between revisions

From Exiled Kingdoms Wiki
(Created page with "<onlyinclude><includeonly><table style="border-spacing:1em 0px;"> <tr><td colspan="3" style="font-size:x-large;">{{{Title|}}}</td></tr> <tr> {{#if:{{{Section1|}}}|<td style="w...")
 
No edit summary
 
Line 1: Line 1:
<onlyinclude><includeonly><table style="border-spacing:1em 0px;">
<onlyinclude><includeonly><table style="border-spacing:1em 0px;">
<tr><td colspan="3" style="font-size:x-large;">{{{Title|}}}</td></tr>
<tr><td style="font-size:x-large;">{{{Title|}}}</td></tr>
<tr>
<tr style="vertical-align:top;"><td style="border-left:2px solid goldenrod;">{{ListFormat (AL)|{{{Sections|}}}|SList0}}</td></tr>
{{#if:{{{Section1|}}}|<td style="width:10em; font-weight:bold; background-color:goldenrod; color:black; border:1px solid goldenrod; border-radius: 0px 24px 24px 0px; padding:0px 10px 0px 10px;">{{{Section1|}}}</td>}}
{{#if:{{{Section2|}}}|<td style="width:10em; font-weight:bold; background-color:goldenrod; color:black; border:1px solid goldenrod; border-radius: 0px 24px 24px 0px; padding:0px 10px 0px 10px;">{{{Section2|}}}</td>}}
{{#if:{{{Section3|}}}|<td style="width:10em; font-weight:bold; background-color:goldenrod; color:black; border:1px solid goldenrod; border-radius: 0px 24px 24px 0px; padding:0px 10px 0px 10px;">{{{Section3|}}}</td>}}
</tr>
<tr style="vertical-align:top;">
{{#if:{{{Section1|}}}|<td style="border-left:2px solid goldenrod;">{{ListFormat (AL)|{{{Elements1|}}}|UList}}</td>}}
{{#if:{{{Section2|}}}|<td style="border-left:2px solid goldenrod;">{{ListFormat (AL)|{{{Elements2|}}}|UList}}</td>}}
{{#if:{{{Section3|}}}|<td style="border-left:2px solid goldenrod;">{{ListFormat (AL)|{{{Elements3|}}}|UList}}</td>}}
</tr>
</table></includeonly></onlyinclude>
</table></includeonly></onlyinclude>
{{Documentation (AL)}}
{{Documentation (AL)}}
[[Category:AL Templates]]
[[Category:AL Templates]]

Latest revision as of 08:00, 28 January 2020

Description

This template is intended to be used on the main page of the Wiki. It generates a specific subtable containing a title and links to various Wiki sections underneath.

Usage

{{SectionTable (AL)
|Title = 
|Sections = 
}}

Parameters

NameRequiredDescriptionValues
TitleYesThe title appearing above the links.arbitrary text
SectionsYesThe links to various Wiki sections gathered beneath the title.a semicolon-separated list of [[Section]]s

View/Edit documentation page