Difference between revisions of "Template:Tools"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Qazaaq
(tools template for tutorials)
 
imported>Qazaaq
m (moving noinclude to include the result)
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div class="toc" style="float:right;">
<noinclude>This template is used to display the tools used in a tutorial. There's a maximum of up to 10 required and optional tools.
 
; Example :
<nowiki>{{Tools
|req0=[[NifSkope]]
|req1=[[Blender]]
|req2=[[TES Construction Set]]
|opt0=[[OBMM]]
|opt1=[[BSA Commander]]
}}</nowiki>
 
; Result :
{{Tools|req0=[[NifSkope]]|req1=[[Blender]]|req2=[[TES Construction Set]]|opt0=[[OBMM]]|opt1=[[BSA Commander]]}}
</noinclude>
<includeonly><div class="toc" style="float:right;">
{|style="border:none;"
{|style="border:none;"
|<span style="font-color: #5a3e16;font-weight: bold;border-bottom: 1px solid #6e5229;">Tools used in this tutorial</span>
|<span style="font-color: #5a3e16;font-weight: bold;border-bottom: 1px solid #6e5229;">Tools used in this tutorial</span>
Line 5: Line 19:
<ul style="list-style:square;">
<ul style="list-style:square;">
:<li>{{{req0}}}</li>
:<li>{{{req0}}}</li>
{{ #if: {{{req1|}}} |:<li>{{{req1}}}</li>|}}
{{ #if: {{{req1|}}} |:<li>{{{req1}}}|}}
{{ #if: {{{req2|}}} |:<li>{{{req2}}}</li>|}}
{{ #if: {{{req2|}}} |:<li>{{{req2}}}|}}
</ul>|}}
{{ #if: {{{req3|}}} |:<li>{{{req3}}}|}}
 
{{ #if: {{{req4|}}} |:<li>{{{req4}}}|}}
{{ #if: {{{opt0|}}} |'''Optional'''
{{ #if: {{{req5|}}} |:<li>{{{req5}}}|}}
{{ #if: {{{req6|}}} |:<li>{{{req6}}}|}}
{{ #if: {{{req7|}}} |:<li>{{{req7}}}|}}
{{ #if: {{{req8|}}} |:<li>{{{req8}}}|}}
{{ #if: {{{req9|}}} |:<li>{{{req9}}}|}}
</ul>|}}{{ #if: {{{opt0|}}} |
'''Optional'''
<ul style="list-style:square;">
<ul style="list-style:square;">
:<li>{{{opt0}}}</li>
:<li>{{{opt0}}}</li>
{{ #if: {{{opt1|}}} |:<li>{{{opt1}}}</li>|}}
{{ #if: {{{opt1|}}} |:<li>{{{opt1}}}|}}
{{ #if: {{{opt2|}}} |:<li>{{{opt2}}}</li>|}}
{{ #if: {{{opt2|}}} |:<li>{{{opt2}}}|}}
{{ #if: {{{opt3|}}} |:<li>{{{opt3}}}|}}
{{ #if: {{{opt4|}}} |:<li>{{{opt4}}}|}}
{{ #if: {{{opt5|}}} |:<li>{{{opt5}}}|}}
{{ #if: {{{opt6|}}} |:<li>{{{opt6}}}|}}
{{ #if: {{{opt7|}}} |:<li>{{{opt7}}}|}}
{{ #if: {{{opt8|}}} |:<li>{{{opt8}}}|}}
{{ #if: {{{opt9|}}} |:<li>{{{opt9}}}|}}
</ul>|}}
</ul>|}}
|}</div>
|}</div></includeonly>
 
<noinclude>
[[Category: Templates|Tools]]
[[Category: Structural Templates|Tools]]
</noinclude>

Latest revision as of 05:02, 4 January 2012

This template is used to display the tools used in a tutorial. There's a maximum of up to 10 required and optional tools.

Example
{{Tools
 |req0=[[NifSkope]]
 |req1=[[Blender]]
 |req2=[[TES Construction Set]]
 |opt0=[[OBMM]]
 |opt1=[[BSA Commander]]
}}
Result
Tools used in this tutorial

Required

Optional