Template:Infobox subsystem: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Added template name) Tags: Mobile edit Mobile web edit |
TheOnlyZac (talk | contribs) (Added update function parameter) |
||
Line 15: | Line 15: | ||
| label2= {{#if: {{{startup}}} | Startup Function | }} |
| label2= {{#if: {{{startup}}} | Startup Function | }} |
||
| data2= {{{startup|}}} |
| data2= {{{startup|}}} |
||
| label3= {{#if: {{{startup}}} | Update Function | }} |
|||
| data3= {{{update|}}} |
|||
}}{{Article only|[[Category:Subsystems]]}}</includeonly><noinclude> |
}}{{Article only|[[Category:Subsystems]]}}</includeonly><noinclude> |
||
{{Infobox subsystem |
{{Infobox subsystem |
||
| startup= 0x00123456 |
| startup= 0x00123456 |
||
| update= 0x002468C0 |
|||
}} |
}} |
||
{{Documentation}} |
{{Documentation}} |
Revision as of 17:39, 9 September 2022
Subsystem | |
---|---|
Startup Function | 0x00123456 |
Update Function | 0x002468C0 |
This is the infobox template for subsystems. It will automatically categorize the article based on its namespace.
Usage
Subsystem | |
---|---|
Startup Function | 0x123456 |
Update Function | 0x2468C0 |
{{Infobox subsystem | title= | description= A sample subsystem | startup= 0x123456 | update= 0x2468C0 }}
The template takes the following optional parameters:
- title - Title of the infobox. Default is the page name.
- description - A brief description of the subsystems purpose/function
- startup - Memory offset of the startup function for the system in the executable.
- update - Memory offset of the update function for the system in the executable.
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for Infobox subsystem
An infobox for use on subsystem articles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description | String | optional |
image | image | no description | File | optional |
caption | caption | no description | String | optional |
description | description | A brief description of the system's function/purpose | String | optional |
width | width | no description | Unknown | optional |
startup function | startup | The memory address of the startup function in the ELF
| Number | suggested |
update function | update | Offset of the update function in the elf
| String | optional |