Template:F: Difference between revisions
Created page with "<includeonly>{{#invoke:Formatting|main}}</includeonly><!-- --><noinclude>{{Documentation}}</noinclude>" |
m Protected "Template:F": High-Risk Template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
(No difference)
| |
Latest revision as of 20:22, 29 August 2025
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
This template allows to display formatting methods without them being actually applied to the text for examples and guides.
Examples
- Default
{{F|Puddlipup}} yields: Puddlipup
- Link with label and bolding
{{F|Puddlipup|Pup|l = 1|b = 1}} yields: <b>[[Puddlipup|Pup]]</b>
- External Link with italic, underline, in ref tags and variable link label
(to be added)
- Link with variable Input indication and bolding
{{F|Puddlipup|Pup|l = 1|b = 1|v = 1}} yields: <b>[[Puddlipup|Pup]]</b>
- Template formatting with direct input and variable input with named and unnamed params
(to be added)
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 |