-The Dream Cancel Wiki has successfully upgraded it's wiki software and editing has returned. Tables for data have returned.

Template:FP Button/Documentation: Difference between revisions

From Dream Cancel Wiki
Jump to navigation Jump to search
Purin (talk | contribs)
No edit summary
Purin (talk | contribs)
No edit summary
 
Line 1: Line 1:
<noinclude>


Main menu
MediaWiki
Search MediaWiki
Search
English
Create account
Log in
Personal tools
Editing Template:FP button/doc
Template
Discussion
Read
Edit source
View history
Tools
Information about template data
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
Advanced
Special characters
Help
{{documentation subpage}}
== Example ==
{{FP button|color=white}} → <nowiki>{{FP button|color=white}}</nowiki>
{{FP button|color=white}} → <nowiki>{{FP button|color=white}}</nowiki>


Line 60: Line 35:
}
}
</templatedata>
</templatedata>
== See also ==
</noinclude>
* {{tl|FP button 2}} for {{FP button 2|Template:FP button 2}}

Latest revision as of 17:48, 17 October 2023


Template:FP button → {{FP button|color=white}}

Template:FP button → {{FP button|color=red}}

Template:FP button → {{FP button|color=blue}}

[[target|Template:FP button]] → [[target|{{FP button|text}}]] (for links. To add links, transclude this template inside wikilinks after the pipebar: [[target title|{{FP button|text}}]]. Or better use Template:Tl which adds links automatically)

Templatedata

Creates a OOUI styled button.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Labeltext 1

no description

Contentrequired
Color of the buttoncolor

Can be blue (progressive), red (destructive) or white

Stringsuggested