Template:FomodPage: Difference between revisions
From Step Mods | Change The Game
No edit summary |
mNo edit summary |
||
(32 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div style="display: | <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:Layout Templates]][[Category:Instruction Templates]][[Category:Deprecated Templates]] | ||
{{Alert|type=warning|text=This is a [[:Category:Deprecated Templates|deprecated template]] that is no longer used. Use [[:Template:Fomod]] instead.}} | |||
==Purpose & Usage== | ==Purpose & Usage== | ||
This inserts the Fomod Page element within the FOMOD Instructions. | This inserts the Fomod Page element within the FOMOD Instructions. | ||
*''parameter 1'' is the Fomod Page title. | *''parameter 1'' is the Fomod Page title. | ||
*''parameter 2'' is where the Optionlist(s) go, using the [ | *''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 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). | *''parameter buttonText'' (optional) text for the button (defaults to Next). | ||
Line 11: | Line 12: | ||
==Examples== | ==Examples== | ||
'''Code:''' | '''Code:''' | ||
<pre>{{FOMOD Instructions | {{FomodPage|Page title|Optionlist}} }}</pre> | <pre>{{FOMOD Instructions | ||
|{{FomodPage | |||
|Page title | |||
|Optionlist}} }}</pre> | |||
'''Result:''' | '''Result:''' | ||
{{FOMOD Instructions | {{FomodPage|Page title|Optionlist}} }} | {{FOMOD Instructions | ||
|{{FomodPage | |||
|Page title | |||
|Optionlist}} }} | |||
'''Code:''' | '''Code:''' | ||
<pre>{{FOMOD Instructions | file=aMidianBorn Armors | {{FomodPage|Page title|Optionlist|button=yes|buttonText=Install}} }}</pre> | <pre>{{FOMOD Instructions | ||
|file=aMidianBorn Armors | |||
|{{FomodPage | |||
|Page title | |||
|Optionlist | |||
|button=yes | |||
|buttonText=Install}} }}</pre> | |||
'''Result:''' | '''Result:''' | ||
{{FOMOD Instructions | file=aMidianBorn Armors | {{FomodPage|Page title|Optionlist|button=yes|buttonText=Install}} }} | {{FOMOD Instructions | ||
|file=aMidianBorn Armors | |||
|{{FomodPage | |||
|Page title | |||
|Optionlist | |||
|button=yes | |||
|buttonText=Install}} }} | |||
'''Code:''' | '''Code:''' | ||
<pre>{{FOMOD Instructions | file=aMidianBorn Armors | {{FomodPage|Page title|{{Fieldset|Optionlist||Option1; Option2; Option3; Option4}}|button=yes|buttonText=Install}} }}</pre> | <pre>{{FOMOD Instructions | ||
|file=aMidianBorn Armors | |||
|{{FomodPage | |||
|Page title | |||
|{{Fieldset | |||
|Optionlist | |||
|bullet=yes|Option1; Option2; Option3; Option4}} | |||
|button=yes | |||
|buttonText=Install}} }}</pre> | |||
'''Result:''' | '''Result:''' | ||
{{FOMOD Instructions | file=aMidianBorn Armors | {{FomodPage|Page title|{{Fieldset|Optionlist||Option1; Option2; Option3; Option4}}|button=yes|buttonText=Install}} }} | {{FOMOD Instructions | ||
|file=aMidianBorn Armors | |||
|{{FomodPage | |||
|Page title | |||
|{{Fieldset | |||
|Optionlist | |||
|bullet=yes|Option1; Option2; Option3; Option4}} | |||
|button=yes | |||
|buttonText=Install}} }} | |||
'''Code:''' | '''Code:''' | ||
<pre>{{FOMOD Instructions | file=aMidianBorn Armors | {{FomodPage|Page title|{{Fieldset|Optionlist||Option1; Option2; Option3; Option4}}|button=yes}} {{FomodPage|Page title|{{Fieldset|Optionlist||Option1; Option2; Option3; Option4}}{{Fieldset|Optionlist||Option1; Option2; Option3; Option4}}|button=yes|buttonText=Install}} }}</pre> | <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:''' | '''Result:''' | ||
{{FOMOD Instructions | file=aMidianBorn Armors | {{FomodPage|Page title|{{Fieldset|Optionlist||Option1; Option2; Option3; Option4}}|button=yes}} {{FomodPage|Page title|{{Fieldset|Optionlist||Option1; Option2; Option3; Option4}} | {{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 == | == See Also == |
Latest revision as of 15:17, September 17, 2021
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
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.ExpandFOMOD Instructions |
Code:
{{FOMOD Instructions |file=aMidianBorn Armors |{{FomodPage |Page title |Optionlist |button=yes |buttonText=Install}} }}
Result:

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.ExpandFOMOD Instructions aMidianBorn Armors |
Code:
{{FOMOD Instructions |file=aMidianBorn Armors |{{FomodPage |Page title |{{Fieldset |Optionlist |bullet=yes|Option1; Option2; Option3; Option4}} |button=yes |buttonText=Install}} }}
Result:

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.ExpandFOMOD Instructions aMidianBorn Armors |
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
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.ExpandFOMOD Instructions aMidianBorn Armors |
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
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.ExpandFOMOD Instructions |
See Also