Template:FomodPage: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
mNo edit summary
Line 1: Line 1:
<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 #B1B1B1; 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__ __NOTITLE__ [[Category:Deprecated Templates]]
<includeonly>{{Alert|type=warn|text=[[:Template:Fieldset]] 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.}}</includeonly><noinclude>__NOTOC__ __NOTITLE__ [[Category:Deprecated Templates]]


{{Alert|type=warning|text=This is a [[:Category:Deprecated Templates|deprecated template]] that is no longer used. Use [[:Template:Fomod]] instead.}}
{{Alert|type=warning|text=This is a [[:Category:Deprecated Templates|deprecated template]] that is no longer used. Use [[:Template:Fomod]] instead.}}
==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 [https://stepmodifications.org/wiki/Template:Fieldset 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:'''
<pre>{{FOMOD Instructions
|{{FomodPage
|Page title
|Optionlist}} }}</pre>
'''Result:'''
{{FOMOD Instructions
|{{FomodPage
|Page title
|Optionlist}} }}
'''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}} }}
'''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}} }}
'''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
|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}} {{FomodPage
|Page title
|{{Fieldset
|Optionlist
|bullet=yes|Option1; Option2; Option3; Option4}}
{{Fieldset
|Optionlist
|bullet=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]]
*[[:Template:FOMOD Instructions]]
</noinclude>
</noinclude>

Revision as of 15:06, September 17, 2021


Warning-Logo.png

WARNING

This is a deprecated template that is no longer used. Use Template:Fomod instead.