ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Template:Tutorial: Difference between revisions
Jump to navigation
Jump to search
Now it should work |
Beta version finished |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="position: relative; top: -1em; left: 0em;"> | <div style="position: relative; top: -1em; left: 0em;"> | ||
<center>{{#ifeq: {{{xcc}}} | yes | [[Image:Game_xcc_yes.png]][[Category:XCC Tutorials]]}} | |||
{{#ifeq: {{{lb}}} | yes | [[Image:Game_lb_yes.png]][[Category:LaunchBase Tutorials]]}} | |||
{{#ifeq: {{{td}}} | yes | [[Image:Game_td_yes.png]][[Category:Tiberian Dawn Tutorials]]}} | |||
{{#ifeq: {{{co}}} | yes | [[Image:Game_co_yes.png]][[Category:Covert Operations Tutorials]]}} | |||
{{#ifeq: {{{ra}}} | yes | [[Image:Game_ra_yes.png]][[Category:Red Alert Tutorials]]}} | |||
{{#ifeq: {{{cs}}} | yes | [[Image:Game_cs_yes.png]][[Category:Counterstrike Tutorials]]}} | |||
{{#ifeq: {{{am}}} | yes | [[Image:Game_am_yes.png]][[Category:Aftermath Tutorials]]}} | |||
{{#ifeq: {{{ts}}} | yes | [[Image:Game_ts_yes.png]][[Category:Tiberian Sun Tutorials]]}} | |||
{{#ifeq: {{{fs}}} | yes | [[Image:Game_fs_yes.png]][[Category:Firestorm Tutorials]]}} | |||
{{#ifeq: {{{ets}}} | yes | [[Image:Game_ets_yes.png]][[Category:ETS Tutorials]]}} | |||
{{#ifeq: {{{ra2}}} | yes | [[Image:Game_ra2_yes.png]][[Category:Red Alert 2 Tutorials]]}} | |||
{{#ifeq: {{{yr}}} | yes | [[Image:Game_yr_yes.png]][[Category:Yuri's Revenge Tutorials]]}} | |||
{{#ifeq: {{{rp}}} | yes | [[Image:Game_rp_yes.png]][[Category:RockPatch Tutorials]]}} | |||
{{#ifeq: {{{gen}}} | yes | [[Image:Game_gen_yes.png]][[Category:Generals Tutorials]]}} | |||
{{#ifeq: {{{zh}}} | yes | [[Image:Game_zh_yes.png]][[Category:Zero Hour Tutorials]]}} | |||
{{#ifeq: {{{tw}}} | yes | [[Image:Game_tw_yes.png]][[Category:Tiberium Wars Tutorials]]}} | |||
</center> | |||
{|align="left" width="100%" cellspacing="0" cellpadding="0" class="template_flag" height="100%" | {|align="left" width="100%" cellspacing="0" cellpadding="0" class="template_flag" height="100%" | ||
|- | |- | ||
Line 30: | Line 29: | ||
<noinclude> | <noinclude> | ||
This page generates a tutorial header | This page generates a tutorial header. | ||
==Usage== | ==Usage== | ||
<pre>{{ | <pre>{{Tutorial | ||
|name= | |name= | ||
| | |contrib= | ||
|games/tools | |||
|games | |||
}}</pre> | }}</pre> | ||
{| cellpadding="4" class="table_descrow" style="float: right;" | {| cellpadding="4" class="table_descrow" style="float: right;" | ||
!Code | !Code | ||
!Game | !Game/Tool | ||
!Code | !Code | ||
!Game | !Game/Tool | ||
|- | |- | ||
|td | |td | ||
Line 83: | Line 77: | ||
|tw | |tw | ||
|[[Tiberium Wars]] | |[[Tiberium Wars]] | ||
|- | |||
|xcc | |||
|[[XCC Mixer]] | |||
|lb | |||
|[[LaunchBase]] | |||
|} | |} | ||
Copy-paste the code above and fill out the parameters as follows:<br> | Copy-paste the code above and fill out the parameters as follows:<br> | ||
*'''name:''' | *'''name:''' Headline of the tutorial (Defaults to page name which should be prefered) | ||
*'''contrib:''' Creators/contributors of this tutorial | |||
*''' | *'''games/tools:''' To which games or tools this tutorial applies. To select a game/tool, add a parameter in the form of code=yes to your template call, e.g. lb=yes. A list of available codes is to the right of this text.{{clr}} | ||
*'''games:''' | |||
==Notes== | ==Notes== | ||
*This template is intended to be put directly at the page's beginning - no extra horizontal lines, to empty lines, nothing. Either relocate the TOC via <nowiki>__TOC__</nowiki> or disable it entirely via <nowiki>__NOTOC__</nowiki>. | |||
*This template is intended to be put directly at the page's beginning - no extra horizontal lines, to empty lines, nothing. Either relocate the TOC via <nowiki>__TOC__</nowiki> or disable it entirely via <nowiki>__NOTOC__</nowiki>. | |||
</noinclude> | </noinclude> |
Revision as of 14:14, 31 March 2008
This page generates a tutorial header.
Usage
{{Tutorial |name= |contrib= |games/tools }}
Code | Game/Tool | Code | Game/Tool |
---|---|---|---|
td | Tiberian Dawn | co | The Covert Operations |
ra | Red Alert | cs | Counterstrike |
am | Aftermath | ts | Tiberian Sun |
fs | Firestorm | ets | Extended Tiberian Sun |
ra2 | Red Alert 2 | yr | Yuri's Revenge |
rp | RockPatch | gen | Generals |
zh | Zero Hour | tw | Tiberium Wars |
xcc | XCC Mixer | lb | LaunchBase |
Copy-paste the code above and fill out the parameters as follows:
- name: Headline of the tutorial (Defaults to page name which should be prefered)
- contrib: Creators/contributors of this tutorial
- games/tools: To which games or tools this tutorial applies. To select a game/tool, add a parameter in the form of code=yes to your template call, e.g. lb=yes. A list of available codes is to the right of this text.
Notes
- This template is intended to be put directly at the page's beginning - no extra horizontal lines, to empty lines, nothing. Either relocate the TOC via __TOC__ or disable it entirely via __NOTOC__.