Template:Input Text: Difference between revisions
Appearance
ReisuDesign (talk | contribs) Created page with "<includeonly><templatestyles src="Template:InputText/styles.css" />{{#if:{{{mobile|}}}|<!-- --><span class="inputtext-container"><!-- --><span class="inputtext-label">Mobile</span><!-- --><span class="inputtext-text">{{{mobile|}}}</span><!-- --></span>}}{{#if:{{{keyboard|}}}|<!-- -->{{#if:{{{mobile|}}}| }}<!-- --><span class="inputtext-container"><!-- --><span class="inputtext-label">Keyboard</span><!-- --><span class="inputtext-text">{{{keyboard|}}}</sp..." |
ReisuDesign (talk | contribs) No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly | <includeonly>{{#if:{{{mobile|}}}|<!-- | ||
--><span class="inputtext-container"><!-- | --><span class="inputtext-container inputtext-mobile"><!-- | ||
--><span class="inputtext-label">Mobile</span><!-- | --><span class="inputtext-label">Mobile</span><!-- | ||
--><span class="inputtext-text">{{{mobile|}}}</span><!-- | --><span class="inputtext-text">{{{mobile|}}}</span><!-- | ||
--></span>}}{{#if:{{{keyboard|}}}|<!-- | --></span>}}{{#if:{{{keyboard|}}}|<!-- | ||
-->{{#if:{{{mobile|}}}| }}<!-- | -->{{#if:{{{mobile|}}}| }}<!-- | ||
--><span class="inputtext-container"><!-- | --><span class="inputtext-container inputtext-keyboard"><!-- | ||
--><span class="inputtext-label">Keyboard</span><!-- | --><span class="inputtext-label">Keyboard</span><!-- | ||
--><span class="inputtext-text">{{{keyboard|}}}</span><!-- | --><span class="inputtext-text">{{{keyboard|}}}</span><!-- | ||
--></span>}}{{#if:{{{controller|}}}|<!-- | --></span>}}{{#if:{{{controller|}}}|<!-- | ||
-->{{#if:{{{keyboard|}}}| }}<!-- | -->{{#if:{{{keyboard|}}}| }}<!-- | ||
--><span class="inputtext-container"><!-- | --><span class="inputtext-container inputtext-controller"><!-- | ||
--><span class="inputtext-label">Controller</span><!-- | --><span class="inputtext-label">Controller</span><!-- | ||
--><span class="inputtext-text">{{{controller|}}}</span><!-- | --><span class="inputtext-text">{{{controller|}}}</span><!-- | ||
--></span>}}</includeonly><noinclude>{{Documentation|type=Design}}</noinclude> | --></span>}}</includeonly><noinclude>{{Documentation|type=Design}}</noinclude> | ||
Latest revision as of 12:42, 25 September 2026
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
This template uses CSS found at MediaWiki:InputText.css.
Displays neatly verious text divided by input.
Syntax
[edit source]{{Input Text|mobile = text|keyboard = text|controller = text}}
Examples
[edit source]{{Input Text|mobile = the left joystic}} yields: Mobilethe left joystic
{{Input Text|keyboard={{Keys|W}}{{Keys|S}}{{Keys|A}}{{Keys|D}}}} KeyboardWSAD
{{Input Text|controller={{Keys|ps-r2}}}} ControllerPlayStation R2
{{Input Text|mobile=the left joystic|controller={{Keys|ps-r2}}|keyboard={{Keys|W}}{{Keys|S}}{{Keys|A}}{{Keys|D}}}} Mobilethe left joystic KeyboardWSAD ControllerPlayStation R2
Template Data
[edit source]No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Mobile Text | mobile | Text for mobile input | String | optional |
| Mouse and Keyboard Text | keyboard | Text for mouse and keyboard input | String | optional |
| Controller Text | controller | Text for controller input | String | optional |