User:Gernash/FomodPage: Difference between revisions

From Step Mods | Change The Game
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div style="display:inline-flex; margin-left:{{{LeftMargin|0}}};">
<includeonly><div style="display:inline-flex; vertical-align:top; max-width:400px; padding-left:9px;"><div style="display:table;"><div style="display:inline-block; background:#35383B; position:relative; top:9px; left:9px;">{{{1}}}</div><div style="border:1px solid #0066ff; border-radius:4px; padding:0 4px 2px;"><div style="padding-left:9px; line-height:0; visibility:hidden;">{{{1}}}<br></div><div style="padding-top:4px;">{{{2|}}}{{#ifeq:{{{button}}}|yes|<div style="padding:4.2px 0 1.2px; text-align:right;"><span style="background-color:#666; background:-webkit-linear-gradient(#666, #444); background:-moz-linear-gradient(#666, #444); background:linear-gradient(#666, #444); background:-o-linear-gradient(#666, #444); padding:1px 10px; border:2px solid #222; border-radius:8px; color:#fff;">{{{buttonText|Next}}}</span></div>|}}</div></div></div></div></includeonly><noinclude>__NOTOC__
{| class="mw-collapsible mw-collapsed" style="padding:3px; border:2px solid #0066ff; border-radius:2px;"
|-
| style="padding-bottom:0;" | '''FOMOD Instructions'''{{#if:{{{file|}}}|<br />''{{{file|}}}''}}
|-
| style="vertical-align:top;" | {{{1}}}
|}
</div></includeonly><noinclude>__NOTOC__


==Purpose & Usage==
==Purpose & Usage==
This inserts a FOMOD Instructions table.
This inserts the Fomod Page element within the FOMOD Instructions.
*''parameter 1'' - This is where the pages of options are placed using [http://wiki.step-project.com/Template:FomodPage Template:FomodPage]
*''parameter 1'' is the Fomod Page title.
*''file'' (optional) - This is the name of the file for which these instructions apply.
*''parameter 2'' is where the Optionlist(s) go, using the [http://wiki.step-project.com/Template:Fieldset Template:Fieldset] template.
*''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)
*''parameter button'' (optional) yes or no as to whether or not to display a button for the next page in the FOMOD installer.
*''parameter buttonText'' (optional) text for the button (defaults to Next).


==Examples==
==Examples==
'''Code:'''
'''Code:'''
<pre>{{user:Gernash/FOMOD Instructions
|{{user:Gernash/FomodPage
|Page title
|Optionlist}} }}</pre>
'''Result:'''
{{user:Gernash/FOMOD Instructions
|{{user:Gernash/FomodPage
|Page title
|Optionlist}} }}
===file Parameter===
<pre>{{FOMOD Instructions
<pre>{{FOMOD Instructions
|file=aMidianBorn Armors
|{{FomodPage
|{{FomodPage
|Page title
|Page title
Line 37: Line 17:
'''Result:'''
'''Result:'''
{{FOMOD Instructions
{{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
|{{FomodPage
|Page title
|Page title
|Optionlist}} }}
|Optionlist}} }}
:3. See how easy that was to do!




===Adding More Options===
'''Code:'''
'''Code:'''
<pre>{{FOMOD Instructions
<pre>{{FOMOD Instructions
Line 88: Line 41:




===Multiple Options for a Fieldset===
'''Code:'''
'''Code:'''
<pre>{{FOMOD Instructions
<pre>{{FOMOD Instructions
Line 112: Line 64:




===More than one Fieldset===
'''Code:'''
'''Code:'''
<pre>{{FOMOD Instructions
<pre>{{FOMOD Instructions
Line 128: Line 79:
{{Fieldset
{{Fieldset
|Optionlist
|Optionlist
|checkmark=yes|Option1; Option2; Option3; Option4}}
|bullet=yes|Option1; Option2; Option3; Option4}}
|button=yes
|button=yes
|buttonText=Install}} }}</pre>
|buttonText=Install}} }}</pre>
Line 147: Line 98:
{{Fieldset
{{Fieldset
|Optionlist
|Optionlist
|checkmark=yes|Option1; Option2; Option3; Option4}}
|bullet=yes|Option1; Option2; Option3; Option4}}
|button=yes
|button=yes
|buttonText=Install}} }}
|buttonText=Install}} }}
Line 201: Line 152:


== See Also ==
== See Also ==
[[:Template:Fieldset]]
*[[:Template:Fieldset]]
*[[:Template:FOMOD Instructions]]


</noinclude>
</noinclude>

Revision as of 09:23, October 16, 2016


Purpose & Usage

This inserts the Fomod Page element within the FOMOD Instructions.

  • parameter 1 is the Fomod Page title.
  • parameter 2 is where the Optionlist(s) go, using the Template:Fieldset template.
  • parameter button (optional) yes or no as to whether or not to display a button for the next page in the FOMOD installer.
  • parameter buttonText (optional) text for the button (defaults to Next).

Examples

Code:

{{FOMOD Instructions
|{{FomodPage
|Page title
|Optionlist}} }}

Result:

Warning-Logo.png

WARNING

Template:FOMOD_Instructions is deprecated and should no longer be used on this wiki. Please change this template call to use the better-looking and simpler Template:Fomod. We apologize for the inconvenience.
FOMOD Instructions
Page title
Page title
Optionlist


Code:

{{FOMOD Instructions
|file=aMidianBorn Armors
|{{FomodPage
|Page title
|Optionlist
|button=yes
|buttonText=Install}} }}

Result:

Warning-Logo.png

WARNING

Template:FOMOD_Instructions is deprecated and should no longer be used on this wiki. Please change this template call to use the better-looking and simpler Template:Fomod. We apologize for the inconvenience.
FOMOD Instructions
aMidianBorn Armors
Page title
Page title
Optionlist
Install


Code:

{{FOMOD Instructions
|file=aMidianBorn Armors
|{{FomodPage
|Page title
|{{Fieldset
|Optionlist
|bullet=yes|Option1; Option2; Option3; Option4}}
|button=yes
|buttonText=Install}} }}

Result:

Warning-Logo.png

WARNING

Template:FOMOD_Instructions is deprecated and should no longer be used on this wiki. Please change this template call to use the better-looking and simpler Template:Fomod. We apologize for the inconvenience.
FOMOD Instructions
aMidianBorn Armors
Page title
Page title
Optionlist
Optionlist

DotMO.png Option1

DotMO.png Option2

DotMO.png Option3

DotMO.png Option4

Install


Code:

{{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
|bullet=yes|Option1; Option2; Option3; Option4}}
|button=yes
|buttonText=Install}} }}

Result:

Warning-Logo.png

WARNING

Template:FOMOD_Instructions is deprecated and should no longer be used on this wiki. Please change this template call to use the better-looking and simpler Template:Fomod. We apologize for the inconvenience.
FOMOD Instructions
aMidianBorn Armors
Page title
Page title
Optionlist
Optionlist

DotMO.png Option1

DotMO.png Option2

DotMO.png Option3

DotMO.png Option4

Next
Page title
Page title
Optionlist
Optionlist

DotMO.png Option1

DotMO.png Option2

DotMO.png Option3

DotMO.png Option4

Optionlist
Optionlist

DotMO.png Option1

DotMO.png Option2

DotMO.png Option3

DotMO.png Option4

Install


Code:

{{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}} }}

Result:

Warning-Logo.png

WARNING

Template:FOMOD_Instructions is deprecated and should no longer be used on this wiki. Please change this template call to use the better-looking and simpler Template:Fomod. We apologize for the inconvenience.
FOMOD Instructions
Options
Options
1. Resolution
1. Resolution

DotMO.png Medium [baseline]

2. Compatibility
2. Compatibility

DotMO.png Default

Next
Options
Options
3. Combination
3. Combination

DotMO.png Legendary

4. New Lands
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)
5. Waves
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)
6. Other
6. Other

DotMO.png Bobbing Longboats [nothing else]

Next

See Also