Template:FomodPage: Difference between revisions
From Step Mods | Change The Game
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><td>{{Fieldset | {{{1|}}} | {{{2|}}}<br /> {{#ifeq: {{{button|}}} | yes | {{Button|{{{buttonText|Next}}}|align=right}} |}} }}</td></includeonly><noinclude>__NOTOC__ | <includeonly><td>{{Fieldset | {{{1|}}} | {{#arraymap:{{{2|}}}|@|x|x<br />|}} {{#ifeq: {{{button|}}} | yes | <br />{{Button|{{{buttonText|Next}}}|align=right}} |}} }}</td></includeonly><noinclude>__NOTOC__ | ||
Line 5: | Line 5: | ||
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 [http://wiki.step-project.com/Template:Fieldset Template:Fieldset] template. | *''parameter 2'' is where the Optionlist(s) go, using the [http://wiki.step-project.com/Template:Fieldset Template:Fieldset] template, separated by delimiter @. | ||
*''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 35: | Line 35: | ||
'''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}}{{Fieldset|Optionlist||Option1; Option2; Option3; Option4}}|button=yes|buttonText=Install}} }} | {{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}} }} | ||
== See Also == | == See Also == |
Revision as of 19:32, September 11, 2014
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, separated by delimiter @.
- 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.FOMOD Instructions | |
Page title Optionlist |
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.FOMOD Instructions aMidianBorn Armors | |
Page title |
Code:
{{FOMOD Instructions | file=aMidianBorn Armors | {{FomodPage|Page title|{{Fieldset|Optionlist||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.FOMOD Instructions aMidianBorn Armors | |
Page title |
Code:
{{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}} }}
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.FOMOD Instructions aMidianBorn Armors | ||
Page title | Page title |
See Also