Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Evon R'al/Sandbox template/doc: Difference between revisions

From EVE University Wiki
m Coding and testing.
m Coding and testing.
Line 164: Line 164:
: This documentation does not include all possible parameters. Only the parameters for use in the UniWiki navigational sidebar are documented. Reason: lack of time, seeing no use for them now. And being plain lazy -- [[User:Evon R'al|Evon R'al]] ([[User talk:Evon R'al|talk]]) 11:39, 4 June 2023 (UTC)
: This documentation does not include all possible parameters. Only the parameters for use in the UniWiki navigational sidebar are documented. Reason: lack of time, seeing no use for them now. And being plain lazy -- [[User:Evon R'al|Evon R'al]] ([[User talk:Evon R'al|talk]]) 11:39, 4 June 2023 (UTC)


<includeonly>[[Category:Sidebar emplates]]<!-- Any categories for the template itself --></includeonly>
<includeonly>[[Category:Sidebar templates]]<!-- Any categories for the template itself --></includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 12:35, 4 June 2023

Description
This template is a metatemplate for the creation of sidebar templates, i.e. boxes that are vertically-aligned navigational templates.
This template is converted from the last non-lua version of Wikipedia Sidebar
Dependencies
Uses
{{Navbar}}
Used by
Syntax
For UnuWiki navigational sidebar
The UniWiki navigational sidebar uses a subset of the available parameters and only the parameters used are documented.
{{Sidebar
| name = {{subst:PAGENAME}}

| topimage = 
| topcaption = 

| pretitle = 

| title = 

| image = 
| caption = 

| above = 

| heading1 = 
| content1 = 

| heading2 = 
| content2 = 

| heading3 = 
| content3 = 

<!-- More heading<x>, content<x> blocks as required up to a maximum of 35 -->

| below = 
| navbar = off

}}
Parameters
name
The name of the sidebar's page. {{subst:PAGENAME}} can be used. May be omitted if no navbar is used (navbar must be off).
topimage
Image at the top of the sidebar. Use standard wiki mark-up i.e. [[File:filename.png|64px]]
topcaption
Caption appear under topimage.
pretitle
Pre-title of the sidebar. Appears above title
title
Title of the sidebar
image
Image below the title. Use standard wiki mark-up i.e. [[File:filename.png|64px]]
caption
Caption to appear under image.
above
Text to appear above the heading/content sections.
heading<x>
content<x>
below
Text to appear below the heading/content sections.
navbar
Controls the use of navbar. Use off to deactivate (If not deactivated name must be filled in).



Sample
SHIP: INFORMATION
[[]]
Unknown Ship
RELATED UNI-WIKI REFERENCES
EXTERNAL LINKS

fittings
0
high slots
highs
0
launcher hardpoints
launchers
0
turret hardpoints
turrets
0
middle slots
mediums
0
low slots
lows
drones & cargo
No drone bay
0 m3
cargo capacity
cargo
defense
0 HP
shields
shield electromagnetic resistance
0
shield thermal resistance
0
shield kinetic resistance
0
shield explosive resistance
0
target & nav
0 km
max. targeting range
tgt. range
0 m
ship signature radius
sig. radius
0 m/s
max. velocity
max. velocity
 
{{Sidebar
| topimage = [[File:Agent.png]]

| title = Sidebar title

| heading1 = Heading 1
| content1 = 
* link 1
* link 2

| heading2 = Heading 2
| content2 = 
* link 3
* link 4

| navbar = off

}}


Note
This documentation does not include all possible parameters. Only the parameters for use in the UniWiki navigational sidebar are documented. Reason: lack of time, seeing no use for them now. And being plain lazy -- Evon R'al (talk) 11:39, 4 June 2023 (UTC)