User:Gernash/Stylesheet: Difference between revisions

From Step Mods | Change The Game
No edit summary
(Replaced content with "__NOTITLE__ {{PageBackground|fallout-3.png}} <br><br> {{Construction|size=80|text=}}<br><br>")
Line 1: Line 1:
<includeonly><div style="display:inline-flex; margin-left:{{{LeftMargin|0}}};">
__NOTITLE__
{| class="mw-collapsible mw-collapsed" style="padding:3px; border:2px solid #0066ff; border-radius:2px;"
{{PageBackground|fallout-3.png}}
|-
| style="padding-bottom:0;" | '''FOMOD Instructions'''{{#if:{{{file|}}}|<br />''{{{file|}}}''}}
|-
| style="vertical-align:top;" | {{{1}}}
|}
</div></includeonly><noinclude>__NOTOC__


==Purpose & Usage==
<br><br>
This inserts a FOMOD Instructions table.
*''parameter 1'' - This is where the pages of options are placed using [http://wiki.step-project.com/Template:FomodPage Template:FomodPage]
*''file'' (optional) - This is the name of the file for which these instructions apply.
*''LeftMargin'' (optional) - This defines a margin to the left of the FOMOD instructions container and is primarily used for indenting the container while contained within an instruction set. (see below)


==Examples==
{{Construction|size=80|text=}}<br><br>
'''Code:'''
<pre>{{FOMOD Instructions
|{{user:Gernash/Stylesheet
|Page title
|Optionlist}} }}</pre>
 
'''Result:'''
{{user:Gernash/Stylesheet Instructions
|{{FomodPage
|Page title
|Optionlist}} }}
 
 
===file Parameter===
<pre>{{FOMOD Instructions
|file=aMidianBorn Armors
|{{FomodPage
|Page title
|Optionlist}} }}</pre>
 
'''Result:'''
{{FOMOD Instructions
|file=aMidianBorn Armors
|{{FomodPage
|Page title
|Optionlist}} }}
 
 
===LeftMargin Parameter===
<pre>
:1. Do this.
:2. You really should follow these instructions:
{{FOMOD Instructions
|file=aMidianBorn Armors
|LeftMargin=45px
|{{FomodPage
|Page title
|Optionlist}} }}
:3. See how easy that was to do!
</pre>
 
'''Result:'''
:1. Do this.
:2. You really should follow these instructions:
{{FOMOD Instructions
|file=aMidianBorn Armors
|LeftMargin=45px
|{{FomodPage
|Page title
|Optionlist}} }}
:3. See how easy that was to do!
 
 
===Adding More Options===
'''Code:'''
<pre>{{FOMOD Instructions
|file=aMidianBorn Armors
|{{FomodPage
|Page title
|Optionlist
|button=yes
|buttonText=Install}} }}</pre>
 
'''Result:'''
{{FOMOD Instructions
|file=aMidianBorn Armors
|{{FomodPage
|Page title
|Optionlist
|button=yes
|buttonText=Install}} }}
 
 
===Multiple Options for a Fieldset===
'''Code:'''
<pre>{{FOMOD Instructions
|file=aMidianBorn Armors
|{{FomodPage
|Page title
|{{Fieldset
|Optionlist
|bullet=yes|Option1; Option2; Option3; Option4}}
|button=yes
|buttonText=Install}} }}</pre>
 
'''Result:'''
{{FOMOD Instructions
|file=aMidianBorn Armors
|{{FomodPage
|Page title
|{{Fieldset
|Optionlist
|bullet=yes|Option1; Option2; Option3; Option4}}
|button=yes
|buttonText=Install}} }}
 
 
===More than one Fieldset===
'''Code:'''
<pre>{{FOMOD Instructions
|file=aMidianBorn Armors
|{{FomodPage
|Page title
|{{Fieldset
|Optionlist
|bullet=yes|Option1; Option2; Option3; Option4}}
|button=yes}} {{FomodPage
|Page title
|{{Fieldset
|Optionlist
|bullet=yes|Option1; Option2; Option3; Option4}}
{{Fieldset
|Optionlist
|checkmark=yes|Option1; Option2; Option3; Option4}}
|button=yes
|buttonText=Install}} }}</pre>
 
'''Result:'''
{{FOMOD Instructions
|file=aMidianBorn Armors
|{{FomodPage
|Page title
|{{Fieldset
|Optionlist
|bullet=yes|Option1; Option2; Option3; Option4}}
|button=yes}} {{FomodPage
|Page title
|{{Fieldset
|Optionlist
|bullet=yes|Option1; Option2; Option3; Option4}}
{{Fieldset
|Optionlist
|checkmark=yes|Option1; Option2; Option3; Option4}}
|button=yes
|buttonText=Install}} }}
 
 
'''Code:'''
<pre>{{FOMOD Instructions
|{{FomodPage
|Options
|{{Fieldset
|1. Resolution
|bullet=yes|Medium [baseline]}}{{Fieldset
|2. Compatibility
|bullet=yes|Default}}
|button=yes
|buttonText=Next}} {{FomodPage
|Options
|{{Fieldset
|3. Combination
|bullet=yes|Legendary}}{{Fieldset
|4. New Lands
|DO NOT SELECT ANY (unless all DLC are not used, in which case, deselect ''3. Combination - Legendary'' and select the applicable DLC/add-ons)}}{{Fieldset
|5. Waves
|DO NOT SELECT ANY (unless all DLC are not used, in which case, deselect ''3. Combination - Legendary'' and select the applicable DLC/add-ons)}}{{Fieldset
|6. Other
|bullet=yes|Bobbing Longboats [nothing else]}}
|button=yes
|buttonText=Next}} }}</pre>
 
'''Result:'''
{{FOMOD Instructions
|{{FomodPage
|Options
|{{Fieldset
|1. Resolution
|bullet=yes|Medium [baseline]}}{{Fieldset
|2. Compatibility
|bullet=yes|Default}}
|button=yes
|buttonText=Next}} {{FomodPage
|Options
|{{Fieldset
|3. Combination
|bullet=yes|Legendary}}{{Fieldset
|4. New Lands
|DO NOT SELECT ANY (unless all DLC are not used, in which case, deselect ''3. Combination - Legendary'' and select the applicable DLC/add-ons)}}{{Fieldset
|5. Waves
|DO NOT SELECT ANY (unless all DLC are not used, in which case, deselect ''3. Combination - Legendary'' and select the applicable DLC/add-ons)}}{{Fieldset
|6. Other
|bullet=yes|Bobbing Longboats [nothing else]}}
|button=yes
|buttonText=Next}} }}
 
== See Also ==
[[:Template:Fieldset]]
 
</noinclude>

Revision as of 09:17, October 16, 2016