Template:FPItem: Difference between revisions

From Dune: Awakening Community Wiki
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:
== Parameters ==
<div id="{{{ID}}}" class="{{{Class|ID}}} fp-section">
<h1 class="fp-header">{{{Header}}}</h1>
<div class="fp-content">{{{Content}}}</div>
</div>


{| class="wikitable"
<noinclude>
! Parameter !! Function
== Usage ==
|-
{{FPItem|ID=fp-1|Class=fp-1|Header=Gameplay|Content=
| ID || Set the ID
Im Gay!!!!
|-
}}
| Class | Set the class
<templatedata>
|-
{
| Styling | Add some styling
"params": {
|-
"ID": {
| Header | The item's header
"description": "ID of the item",
|-
"type": "string",
| Header Link | Link on the header
"suggestedvalues": [
|-  
"fp-1",
| Content | The content of the item
"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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
IDID

ID of the item

Suggested values
fp-1 fp-2 fp-3
Stringrequired
ClassClass

Class of the item

Stringoptional
StylingStyling

Styling of the item

Stringoptional
HeaderHeader

The header to display for the item

Stringrequired
Header LinkHeader Link ref href link

The page that the header links to

Page nameoptional
ContentContent

Content of the item

Contentrequired