Template:Sidebar or footer/sandbox
{{{title}}} |
---|
![]() | __EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Sidebar or footer (diff). See also the companion subpage for test cases. |
![]() | This template uses Lua: |
A template that transcludes this abstract template will be displayed as a sidebar if the template is called with an empty footer parameter; otherwise, it will be displayed as a footer.
This template supports 3 groups and 14 items per group. <syntaxhighlight lang="wikitext">
{{{title}}} |
---|
</syntaxhighlight>
Example
{{Sidebar or footer/example}} contains the following code:
<syntaxhighlight lang="wikitext">
National Basketball Association awards and honors | ||
---|---|---|
Championship | ||
|
||
Individual awards | ||
Honors | ||
</syntaxhighlight>
If {{Sidebar or footer/example}} is called with an empty footer parameter, then it will be displayed as a sidebar.
<syntaxhighlight lang="wikitext">National Basketball Association awards and honors | ||
---|---|---|
Championship | ||
|
||
Individual awards | ||
Honors | ||
National Basketball Association awards and honors | ||
---|---|---|
Championship | ||
|
||
Individual awards | ||
Honors | ||
If {{Sidebar or footer/example}} is called with a non-empty footer parameter, then it will be displayed as a footer.
<syntaxhighlight lang="wikitext"> </syntaxhighlight>