Template:Infobox data structure: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Using SEO helper template) |
TheOnlyZac (talk | contribs) (Template adjustments) |
||
Line 1: | Line 1: | ||
<includeonly>{{Infobox |
<includeonly>{{Infobox |
||
| name=Template:Infobox data structure |
| name=Template:Infobox data structure |
||
| title= {{{ |
| title= {{{title|{{PAGENAME}}}}} |
||
| above= Data Structure |
| above= Data Structure |
||
| label1= Game |
| label1= Game |
||
Line 10: | Line 10: | ||
| sly4= [[Sly 4|{{Sly 4}}]][[Category:Data structures in Sly 4]] |
| sly4= [[Sly 4|{{Sly 4}}]][[Category:Data structures in Sly 4]] |
||
}} |
}} |
||
| label2= Official Name |
| label2= {{#if: {{{official|}}}|Official Name|}} |
||
| data2= {{#ifeq: {{{official}}} | y | Yes | }}{{#ifeq: {{{official}}} | n | No| }} |
| data2= {{#ifeq: {{{official|}}} | y | Yes | }}{{#ifeq: {{{official|}}} | n | No| }} |
||
| label3= {{#if: {{{size|}}}|Size|}} |
| label3= {{#if: {{{size|}}}|Size|}} |
||
| data3= {{{size|}}} |
| data3= {{{size|}}} |
||
}}{{ |
}}{{Article only|[[Category:Data structures]]}} |
||
{{WikiSEO helper |
{{WikiSEO helper |
||
| title={{Main other | {{PAGENAME}} in {{NAMESPACE}} | {{FULLPAGENAME}} }} |
| title={{Main other | {{PAGENAME}} in {{NAMESPACE}} | {{FULLPAGENAME}} }} |
||
| description={{Main other | {{PAGENAME}} is a data structure used in {{Sly other|sly1={{Sly 1}}|sly2={{Sly 2}}|sly3={{Sly 3}}|sly4={{Sly 4}}|other=the Sly Cooper series}} |}}. |
| description={{Main other | {{PAGENAME}} is a data structure used in {{Sly other|sly1={{Sly 1}}|sly2={{Sly 2}}|sly3={{Sly 3}}|sly4={{Sly 4}}|other=the Sly Cooper series}} |}}. |
||
| image={{#if: {{{image|}}} | {{{image}}} |}} |
| image={{#if: {{{image|}}} | {{{image}}} |}} |
||
| keywords=data structures, structure, struct, programming, logic, symbol, variable, variables, fields, classes, class, C++, C |
| keywords=data structures, structure, struct, programming, logic, symbol, variable, variables, fields, classes, class, C++, C, datatype, data type, type, types, fields |
||
}}</includeonly><noinclude> |
}}</includeonly><noinclude> |
||
{{Documentation}} |
{{Documentation}} |
Revision as of 14:38, 12 September 2022
An infobox template for data structure articles. It automatically categorizes the article based on the namespace.
Example
Data Structure | |
---|---|
Size | 0x100 |
{{Infobox data structure | size= 0x100 }}
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for Infobox data structure
An infobox for data structures.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | Optional, default is page title | String | optional |
official name? | official | Whether the article name is the official structure name (y/n)
| Unknown | optional |
size | size | The size of the struct (in bytes)
| Number | suggested |
Redirects
- {{Infobox struct}}