The official discord link if you wish to join the discord: https://discord.gg/j5RKwCvAFu
Support the wiki on our official Ko-Fi page or Patreon page!
Template:F/doc: Difference between revisions
GiverOfThePeace (talk | contribs) (Created page with "{{Documentation/Header}} {{Lua|Formatting}} This template allows to display formatting methods without them being actually applied to the text for examples and guides. * For direct template call format use: {{T|T}} * For direct link format use: {{T|L}} ==Examples== ;Default {{T|F|Stellar Jade|_Y_=1}} ;Link with label and bolding {{T|F|p1=Stellar Jade|p2=Jade|p3=l=1|p4=b=1|_Y_=1}} ;External Link with italic, underline, in ref tags and variable link label {{T|F|https://...") |
GiverOfThePeace (talk | contribs) (Protected "Template:F/doc" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) m |
(No difference)
|
Latest revision as of 20:23, 11 May 2024
Script error: No such module "documentation". Lua error in package.lua at line 80: module 'Module:List' not found. This template allows to display formatting methods without them being actually applied to the text for examples and guides.
Examples
- Default
{{F|<Stellar Jade>}}
- Link with label and bolding
{{F}}
- External Link with italic, underline, in ref tags and variable link label
{{F|<https://youtu.be/w8vPZrMFiZ4>|<element>}}
- Link with variable Input indication and bolding
{{F|<Stellar Jade>|<Jade>}}
- Template formatting with direct input and variable input with named and unnamed params
{{F}}
Template Data
Template for displaying formatting methods as they would show in source editor mode.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | text 1 | Main input to display, represents the page to link in link format and the url to link to in external link format. | String | required |
Link | link l | Option for internal link formatting. | String | optional |
External Link | external-link el | Option for external link formatting. | String | optional |
Label | label 2 | Functional only with link or external link formatting active, text to add as label. | String | optional |
Variable Input | variable v | Display text as variable input (i.e. expected to be replaced by appropiate text). | String | optional |
Variable Input | variable-label vl | Functional only with link or external link formatting active, display the link lable as variable input (i.e. expected to be replaced by appropiate text). | String | optional |
Variable Input | v# | Functional only with template call formatting active, parameter to display as variable input (i.e. expected to be replaced by appropiate text). | String | optional |
Template | template t | Option for template call formatting. | String | optional |
Fixed Input | p# | Functional only with template call formatting active, parameter to display as fixed input (i.e. expected to be used as-is). | String | optional |
Bold | bold b | Option for bold formatting. | Boolean | optional |
Italic | italic i | Option for italic formatting. | Boolean | optional |
Underline | underline u | Option for underline formatting. | Boolean | optional |
Ref Tag | ref r | Option for adding <ref></ref> tags. | Boolean | optional |
NoWiki | nowiki nw | Option for adding <nowiki></nowiki> tags. | Boolean | optional |