Difference between revisions of "Template:Fixbox"

From PCGamingWiki, the wiki about fixing PC games
m (added fixbox-body CSS class)
m (added example)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<includeonly><table class="pcgwikitable fixbox {{#ifeq: {{{collapsed|no}}} | yes | mw-collapsible mw-collapsed }}">
 
<includeonly><table class="pcgwikitable fixbox {{#ifeq: {{{collapsed|no}}} | yes | mw-collapsible mw-collapsed }}">
 
   <tr>
 
   <tr>
     <th class="fixbox-title" style="text-align: left; padding-bottom: 12px; width: 820px;">
+
     <th class="fixbox-title">
 
<div title="Fix" class="svg-icon svg-16 fixbox-icon"></div>{{{description|Instructions}}}{{{ref|}}}
 
<div title="Fix" class="svg-icon svg-16 fixbox-icon"></div>{{{description|Instructions}}}{{{ref|}}}
 
     </th>
 
     </th>
Line 7: Line 7:
 
{{#if: {{{fix|}}} |
 
{{#if: {{{fix|}}} |
 
   <tr>
 
   <tr>
     <td class="fixbox-body" style="width: 820px;">
+
     <td class="fixbox-body">
 
{{{fix|}}}
 
{{{fix|}}}
 
     </td>
 
     </td>
 
   </tr>
 
   </tr>
 
}}
 
}}
</table>{{#ifeq:{{{fix|}}}{{{description|}}}||{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (Fixbox)]] }}}}</includeonly>
+
</table>{{#ifeq:{{{fix|}}}{{{description|}}}||{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (Fixbox)]] }}}}</includeonly><noinclude>
 +
{{Fixbox|description=Example fixbox: Disable touch input in Windows|ref=<ref name="NeoGAF-mainthread-op">{{Refurl|url=http://www.neogaf.com/forum/showpost.php?p=232252280&postcount=1|title=Nier: Automata PC performance thread :: NeoGAF|date=2017-04-01}}</ref>|fix=
 +
# Open the [[Microsoft Windows#Task Manager|Task Manager]] of Windows.
 +
# Go to the '''Services''' tab.
 +
# Locate the service named '''Touch Keyboard and Handwriting Panel Service''' or '''TabletInputService'''.
 +
# Right-click on it and choose '''Stop'''.
 +
 
 +
'''Notes'''
 +
{{ii}} This only stops the service temporarily until the computer is restarted.
 +
}}
 +
{{Documentation}}</noinclude>

Latest revision as of 16:33, 24 October 2020

Example fixbox: Disable touch input in Windows[1]
  1. Open the Task Manager of Windows.
  2. Go to the Services tab.
  3. Locate the service named Touch Keyboard and Handwriting Panel Service or TabletInputService.
  4. Right-click on it and choose Stop.

Notes

This only stops the service temporarily until the computer is restarted.
Documentation for the above template (sometimes hidden from view).

Description

The Fixbox is a specialized container used exclusively for fixes, workarounds, and step-by-step instructions. It provides a formal base for them, as well as keeping the wiki clean.

  • The title need to summarize what the fix/workaround is trying to accomplish.
    • See above example.
  • For sequenced instructions, use # to label each step.
    • # allows numbered lists to be dynamic.
    • Ex. If new entries are placed in the middle of a list, the old entries are automatically re-numbered.

Syntax

{{Fixbox|description=Name|ref=<ref>Reference</ref>|fix=
--instructions go here--
}}

Collapsed fixbox

Add |collapsed=yes to the template to have the fixbox appear as collapsed and require user input to expand.

Name[2]

--instructions go here--

{{Fixbox|description=Name|ref=<ref>Reference</ref>|collapsed=yes|fix=
--instructions go here--
}}

References

  1. Nier: Automata PC performance thread :: NeoGAF - last accessed on 2017-04-01
  2. Reference