Template:INITOC: Difference between revisions
From Step Mods | Change The Game
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><div class="toc" style="column-count:{{{columns|5}}};display:inline-block;font-size:{{{fontsize|15pt}}};padding:1rem;">{{#arraymap:{{{1}}}|*|x|[[/x|[x]]]<br />|}}</div></includeonly><noinclude>__NOTOC__ [[Category:Guide Templates]] | ||
== Purpose & Usage == | == Purpose & Usage == | ||
This template provides a method for laying out a custom table of contents listing subpage links to respective INI parameters. | |||
===Parameters=== | ===Parameters=== | ||
====Required==== | ====Required==== | ||
*'' | *''parameter 1'': This should be a bulleted list of all the sections. | ||
====Optional==== | ====Optional==== | ||
*''columns'': This specifies the number of columns. Default is 5. | |||
*''fontsize'': This specifies the font size. Default is 15pt. | |||
*''columns'': | |||
*'' | |||
== Examples == | == Examples == | ||
'''Code:''' | '''Code:''' | ||
<pre>{{INITOC | <pre>{{User:DoubleYou/Sandbox/INITOC|columns=5| | ||
| | *:Controls | ||
*Actor | |||
*Animation | |||
*Archive | |||
*Audio | |||
*BackgroundLoad | |||
*bLightAttenuation | |||
*BSPathing | |||
*BudgetCaps | |||
*Camera | |||
*CameraPath | |||
*Cart | |||
*Clouds | |||
*Combat | |||
*Controls | |||
*CopyProtectionStrings | |||
*Debug | |||
*Decals | |||
*Dialogue | |||
*Display | |||
*FaceGen | |||
*Fonts | |||
*FootIK | |||
*Gameplay | |||
*General | |||
*GeneralWarnings | |||
*GethitShader | |||
*GrabIK | |||
*Grass | |||
}}< | *HAVOK | ||
*HeadTracking | |||
*Imagespace | |||
*Interface | |||
*Kinect | |||
*Landscape | |||
*LANGUAGE | |||
*Light | |||
*LightingShader | |||
*LOD | |||
*LookIK | |||
*MAIN | |||
*MapMenu | |||
*Menu | |||
*MESSAGES | |||
*NavMeshGeneration | |||
*Papyrus | |||
*Pathfinding | |||
*Pathing | |||
*RagdollAnim | |||
*RagdollFeedback | |||
*SaveGame | |||
*ScreenSplatter | |||
*SpeedTree | |||
*Terrain | |||
*TerrainManager | |||
*TestAllCells | |||
*Trees | |||
*VATS | |||
*Verlet | |||
*Voice | |||
*Water | |||
*Weather}}</pre> | |||
'' | ''Result:'' | ||
{{User:DoubleYou/Sandbox/INITOC|columns=5| | |||
| | *:Controls | ||
*Actor | |||
*Animation | |||
*Archive | |||
*Audio | |||
*BackgroundLoad | |||
*bLightAttenuation | |||
*BSPathing | |||
*BudgetCaps | |||
*Camera | |||
*CameraPath | |||
*Cart | |||
*Clouds | |||
*Combat | |||
*Controls | |||
*CopyProtectionStrings | |||
*Debug | |||
*Decals | |||
*Dialogue | |||
*Display | |||
*FaceGen | |||
*Fonts | |||
*FootIK | |||
*Gameplay | |||
*General | |||
*GeneralWarnings | |||
*GethitShader | |||
*GrabIK | |||
*Grass | |||
*HAVOK | |||
*HeadTracking | |||
*Imagespace | |||
*Interface | |||
*Kinect | |||
*Landscape | |||
*LANGUAGE | |||
*Light | |||
*LightingShader | |||
*LOD | |||
*LookIK | |||
*MAIN | |||
*MapMenu | |||
*Menu | |||
*MESSAGES | |||
*NavMeshGeneration | |||
*Papyrus | |||
*Pathfinding | |||
*Pathing | |||
*RagdollAnim | |||
*RagdollFeedback | |||
*SaveGame | |||
*ScreenSplatter | |||
*SpeedTree | |||
*Terrain | |||
*TerrainManager | |||
}} | *TestAllCells | ||
*Trees | |||
*VATS | |||
*Verlet | |||
*Voice | |||
*Water | |||
*Weather}} | |||
== See Also == | |||
None | |||
</noinclude> | </noinclude> |
Revision as of 22:59, January 4, 2021
Purpose & Usage
This template provides a method for laying out a custom table of contents listing subpage links to respective INI parameters.
Parameters
Required
- parameter 1: This should be a bulleted list of all the sections.
Optional
- columns: This specifies the number of columns. Default is 5.
- fontsize: This specifies the font size. Default is 15pt.
Examples
Code:
{{User:DoubleYou/Sandbox/INITOC|columns=5| *:Controls *Actor *Animation *Archive *Audio *BackgroundLoad *bLightAttenuation *BSPathing *BudgetCaps *Camera *CameraPath *Cart *Clouds *Combat *Controls *CopyProtectionStrings *Debug *Decals *Dialogue *Display *FaceGen *Fonts *FootIK *Gameplay *General *GeneralWarnings *GethitShader *GrabIK *Grass *HAVOK *HeadTracking *Imagespace *Interface *Kinect *Landscape *LANGUAGE *Light *LightingShader *LOD *LookIK *MAIN *MapMenu *Menu *MESSAGES *NavMeshGeneration *Papyrus *Pathfinding *Pathing *RagdollAnim *RagdollFeedback *SaveGame *ScreenSplatter *SpeedTree *Terrain *TerrainManager *TestAllCells *Trees *VATS *Verlet *Voice *Water *Weather}}
Result: User:DoubleYou/Sandbox/INITOC
See Also
None