Template:FOMOD Instructions: Difference between revisions
From Step Mods | Change The Game
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><table style="border-top:1px solid #B1B1B1; border-bottom:1px solid #B1B1B1; border-right:1px solid #B1B1B1; color:{{{ | <includeonly><table style="border-top:1px solid {{{colorBorders|#B1B1B1}}}; border-bottom:1px solid {{{colorBorders|#B1B1B1}}}; border-right:1px solid {{{colorBorders|#B1B1B1}}}; color:{{{colorText|#B1B1B1}}}"><tr><th style="border-bottom:1px solid {{{colorBorders|#B1B1B1}}};">FOMOD Installation{{#if:{{{file|}}}|<br /><span style="font-style:italic; font-weight: normal;">{{{file}}}</span>}}</th></tr>{{{1}}}</table></includeonly><noinclude>__NOTOC__ | ||
==Purpose & Usage== | ==Purpose & Usage== | ||
Line 5: | Line 5: | ||
*''parameter 1'' This is where the options are placed using [http://wiki.step-project.com/Template:TableRowList Template:TableRowList] | *''parameter 1'' This is where the options are placed using [http://wiki.step-project.com/Template:TableRowList Template:TableRowList] | ||
*''parameter file'' (optional) This is the name of the file for which these instructions apply. | *''parameter file'' (optional) This is the name of the file for which these instructions apply. | ||
*''parameter color'' (optional) Change the color for the all the | *''parameter colorText'' (optional) Change the color for the all the text. | ||
*''parameter colorBorders'' (optional) Change the color for the all the borders. | |||
==Examples== | ==Examples== | ||
Line 17: | Line 18: | ||
<pre>{{FOMOD Instructions | <pre>{{FOMOD Instructions | ||
|{{TableRowList|Page|Option List|Option1; Option1;}} | |{{TableRowList|Page|Option List|Option1; Option1;}} | ||
| | |colorText=red | ||
|colorBorders=blue | |||
}}</pre> | }}</pre> | ||
Line 23: | Line 25: | ||
{{FOMOD Instructions | {{FOMOD Instructions | ||
|{{TableRowList|Page|Option List|Option1; Option1;}} | |{{TableRowList|Page|Option List|Option1; Option1;}} | ||
| | |colorText=red | ||
|colorBorders=blue | |||
}} | }} | ||
Revision as of 20:18, September 10, 2014
Purpose & Usage
This inserts a FOMOD Instructions table.
- parameter 1 This is where the options are placed using Template:TableRowList
- parameter file (optional) This is the name of the file for which these instructions apply.
- parameter colorText (optional) Change the color for the all the text.
- parameter colorBorders (optional) Change the color for the all the borders.
Examples
Code:
{{FOMOD Instructions|{{TableRowList|Page|Option List|Option1; Option1; Option1; Option1}} }}
Result:
Template:TableRowListFOMOD Installation |
---|
Code:
{{FOMOD Instructions |{{TableRowList|Page|Option List|Option1; Option1;}} |colorText=red |colorBorders=blue }}
Result:
Template:TableRowListFOMOD Installation |
---|
Code:
{| |{{FOMOD Instructions|file=aMidianBorn Armors|{{TableRowList|Page|Option List|Option1; Option1; Option1; Option1}} }} |{{FOMOD Instructions|file=aMidianBorn Weapons|{{TableRowList|Page|Option List|Option1; Option1; Option1; Option1}} }} |}
Result:
Template:TableRowList
|
Template:TableRowList
|
See Also