Template:Course infobox: Difference between revisions

m
Reverted edits by Thestickman391 (talk) to last revision by JoshDuMan
No edit summary
m (Reverted edits by Thestickman391 (talk) to last revision by JoshDuMan)
Line 2: Line 2:
| align="center" colspan="2" bgcolor="#10274c" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>'''
| align="center" colspan="2" bgcolor="#10274c" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>'''
|-
|-
|align="center" colspan="2" | {{image|300px}}
|align="center" colspan="2" | {{{image|}}}
|- style="vertical-align: top"
|- style="vertical-align: top"
{{#if:{{{environment|}}}|{{!}}- style="vertical-align: top;"
|}
{{!}} '''Environment'''
{{#ifeq:{{NAMESPACENUMBER}}|0|
{{!}} {{{environment}}}
[[Category:Courses]]}}
|}}
</includeonly><noinclude><div style="float:right"><pre>{{course_infobox
|- style="vertical-align: top"
|title=
{{#if:{{{setting|}}}|{{!}}- style="vertical-align:top"
|image=
{{!}} '''Setting'''
}}</pre></div>
{{!}} {{{setting}}}
*image &ndash; an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax.
}}
*title &ndash; default pagename, just in case can be changed
|- style="vertical-align: top"  
<br clear="all"> [[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
{{#if:{{{water|}}}|{{!}}- style="vertical-align:top"
{{!}} '''Water'''
{{!}} {{{water}}}
}}
}