Template:FPItem: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Parameters == {| class="wikitable" ! Parameter !! Function |- | ID || Set the ID |- | Class | Set the class |- | Styling | Add some styling |- | Header | The item's header |- | Header Link | Link on the header |- | Content | The content of the item |}") |
No edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== | <div id="{{{ID}}}" class="{{{Class|ID}}} fp-section"> | ||
<h1 class="fp-header">{{{Header}}}</h1> | |||
<div class="fp-content">{{{Content}}}</div> | |||
</div> | |||
{| | <noinclude> | ||
! | == Usage == | ||
{{FPItem|ID=fp-1|Class=fp-1|Header=Gameplay|Content= | |||
Im Gay!!!! | |||
}} | |||
<templatedata> | |||
{ | |||
"params": { | |||
"ID": { | |||
"description": "ID of the item", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"fp-1", | |||
"fp-2", | |||
"fp-3" | |||
], | |||
"required": true | |||
}, | |||
"Class": { | |||
"description": "Class of the item", | |||
"type": "string" | |||
}, | |||
"Styling": { | |||
"description": "Styling of the item", | |||
"type": "string" | |||
}, | |||
"Header": { | |||
"description": "The header to display for the item", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"Header Link": { | |||
"aliases": [ | |||
"ref", | |||
"href", | |||
"link" | |||
], | |||
"description": "The page that the header links to", | |||
"type": "wiki-page-name" | |||
}, | |||
"Content": { | |||
"description": "Content of the item", | |||
"type": "content", | |||
"required": true | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 17:23, 29 February 2024
{{{Header}}}
{{{Content}}}
Usage
Gameplay
Im Gay!!!!
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | ID | ID of the item
| String | required |
Class | Class | Class of the item | String | optional |
Styling | Styling | Styling of the item | String | optional |
Header | Header | The header to display for the item | String | required |
Header Link | Header Link ref href link | The page that the header links to | Page name | optional |
Content | Content | Content of the item | Content | required |