Difference between revisions of "Template:Fixbox/Documentation"
(d) |
Baronsmoki (talk | contribs) m ({{folder}}) |
||
(8 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
'''Example''' | '''Example''' | ||
{{ii}} Taken from [[Full Spectrum Warrior]] | {{ii}} Taken from [[Full Spectrum Warrior]] | ||
{{Fixbox|description=Modifying the FSW.dll file|ref=<ref>http://forums.steampowered.com/forums/showthread.php?t=1202822</ref>|fix= | {{Fixbox|description=Modifying the FSW.dll file|ref=<ref>http://forums.steampowered.com/forums/showthread.php?t=1202822</ref>|fix= | ||
− | {{ii}} Before editing, make a backup of the | + | {{ii}} Before editing, make a backup of the {{File|FSW.dll}} file in case the modifications go wrong. |
− | # Go to | + | # Go to {{folder|{{p|game}}}}. |
− | # Open the | + | # Open the {{File|FSW.dll}} file with Notepad or other text editor. |
# Using the Find function ({{key|Ctrl|F}}), search for "%s.available.gamespy.com". There will be exactly one entry. | # Using the Find function ({{key|Ctrl|F}}), search for "%s.available.gamespy.com". There will be exactly one entry. | ||
# Replace the text with "www.example.com/fixes/%s" (or any other working link that is the same length as the original and contains "%s" somewhere. This particular link is guaranteed to work.) | # Replace the text with "www.example.com/fixes/%s" (or any other working link that is the same length as the original and contains "%s" somewhere. This particular link is guaranteed to work.) | ||
Line 23: | Line 11: | ||
# Launch the game. | # Launch the game. | ||
}} | }} | ||
+ | |||
+ | |||
+ | '''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 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. | * The title need to summarize what the fix/workaround is trying to accomplish. | ||
− | |||
* For sequenced instructions, use <code>#</code> to label each step. | * For sequenced instructions, use <code>#</code> to label each step. | ||
** <code>#</code> allows numbered lists to be dynamic. | ** <code>#</code> 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. | ** Ex. If new entries are placed in the middle of a list, the old entries are automatically re-numbered. | ||
+ | * If the title alone is enough to summarize, the {{Code|fix}} parameter can be omitted, see the below one-line fixbox syntax. | ||
− | |||
− | |||
− | + | '''Standard fixbox''' | |
− | + | {{Fixbox|description=Name|ref=<ref>Reference</ref>|fix= | |
− | + | --instructions go here-- | |
− | + | }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <pre><nowiki> | |
− | {{ | + | {{Fixbox|description=Name|ref=<ref>Reference</ref>|fix= |
− | + | --instructions go here-- | |
− | + | }} | |
− | + | </nowiki></pre> | |
− | + | ||
− | + | ||
− | + | '''One-line fixbox''' | |
− | + | ||
+ | For a short one-line fixbox where instructions are not necessary, the {{Code|fix}} parameter can be omitted entirely: | ||
− | = | + | {{Fixbox|description=Use windowed mode, see [[#Video|Video]].|ref=<ref>Reference</ref>}} |
− | |||
− | + | <pre><nowiki> | |
− | + | {{Fixbox|description=Use windowed mode, see [[#Video|Video]].|ref=<ref>Reference</ref>}} | |
− | {{Fixbox|description= | + | </nowiki></pre> |
− | |||
− | |||
− | + | '''Collapsed fixbox''' | |
− | |||
− | + | Add <code><nowiki>|collapsed=yes</nowiki></code> to the template to have the fixbox appear as collapsed and require user input to expand. | |
− | |||
− | + | {{Fixbox|description=Name|ref=<ref>Reference</ref>|collapsed=yes|fix= | |
− | {{Fixbox|description= | + | --instructions go here-- |
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | + | <pre><nowiki> | |
− | {{Fixbox|description= | + | {{Fixbox|description=Name|ref=<ref>Reference</ref>|collapsed=yes|fix= |
− | + | --instructions go here-- | |
− | |||
− | |||
− | |||
}} | }} | ||
+ | </nowiki></pre><noinclude> | ||
{{References}} | {{References}} | ||
+ | </noinclude> |
Revision as of 17:43, 8 August 2023
Example
- Taken from Full Spectrum Warrior
Modifying the FSW.dll file[1] |
---|
|
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.
- 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.
- If the title alone is enough to summarize, the
fix
parameter can be omitted, see the below one-line fixbox syntax.
Standard fixbox
Name[2] |
---|
--instructions go here-- |
{{Fixbox|description=Name|ref=<ref>Reference</ref>|fix= --instructions go here-- }}
One-line fixbox
For a short one-line fixbox where instructions are not necessary, the fix
parameter can be omitted entirely:
Use windowed mode, see Video.[3] |
---|
{{Fixbox|description=Use windowed mode, see [[#Video|Video]].|ref=<ref>Reference</ref>}}
Collapsed fixbox
Add |collapsed=yes
to the template to have the fixbox appear as collapsed and require user input to expand.
Name[4] |
---|
--instructions go here-- |
{{Fixbox|description=Name|ref=<ref>Reference</ref>|collapsed=yes|fix= --instructions go here-- }}
References
- ↑ http://forums.steampowered.com/forums/showthread.php?t=1202822
- ↑ Reference
- ↑ Reference
- ↑ Reference