Difference between revisions of "Template:Ssi-online-resource"

From Stanford SSI Wiki
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
 
{| class="wikitable" style="float:right; margin-left: 10px; clear:both;"
 
{| class="wikitable" style="float:right; margin-left: 10px; clear:both;"
!colspan="2"{{pipe}} '''{{{header}}}'''
+
!colspan="2"{{pipe}} <div style="font-size:20px; font-weight:bold; text-align:center; padding-top:7px; padding-bottom:7px;">[{{{online resource link}}} {{{online resource}}}]</div>
 
{{pipe}}-
 
{{pipe}}-
 
{{#if:{{{installed on windows workstations|}}}|
 
{{#if:{{{installed on windows workstations|}}}|
{{pipe}}!colspan="2" {{{installed on windows workstations}}}
+
!colspan="2"{{pipe}}{{#ifeq:{{{installed on windows workstations|}}}|true|Available on SSI [[Windows Remote VMs]] :-)|}}
 
{{pipe}}-}}
 
{{pipe}}-}}
 
{{#if:{{{logo link|}}}|
 
{{#if:{{{logo link|}}}|
Line 10: Line 10:
 
{{pipe}}-}}
 
{{pipe}}-}}
 
{{#if:{{{guide|}}}|
 
{{#if:{{{guide|}}}|
{{pipe}}<b>Guide</b>
+
!colspan="2"{{pipe}}[[{{{guide}}}]]
{{pipe}}{{{guide}}}
 
 
{{pipe}}-}}
 
{{pipe}}-}}
 +
!colspan="2"{{pipe}} <div style="font-size:17px; font-weight:bold; text-align:center; padding-top:3px; padding-bottom:3px;">[[SSI Online Resources]]</div>
 
|}
 
|}
 
</onlyinclude>
 
</onlyinclude>
Line 20: Line 20:
 
  <nowiki>
 
  <nowiki>
 
{{ssi-online-resource  
 
{{ssi-online-resource  
| header =  
+
| online resource =  
 +
| online resource link:
 
| logo link =  
 
| logo link =  
 
| guide =  
 
| guide =  
 
| installed on windows workstations =  
 
| installed on windows workstations =  
}}
+
}}</nowiki>
</nowiki>
 
  
 
An example of proper usage is shown here:
 
An example of proper usage is shown here:
Line 31: Line 31:
 
  <nowiki>
 
  <nowiki>
 
{{ssi-online-resource  
 
{{ssi-online-resource  
| header = OpenRocket
+
| online resource = OpenRocket
 +
| online resource link = http://openrocket.info
 
| logo link = File:Open-rocket-logo.png
 
| logo link = File:Open-rocket-logo.png
 
| guide = Getting Started with OpenRocket
 
| guide = Getting Started with OpenRocket
 
| installed on windows workstations = true
 
| installed on windows workstations = true
}}
+
}}</nowiki>
</nowiki>
 
  
 
[[Category: Templates]]
 
[[Category: Templates]]

Latest revision as of 03:03, 27 February 2021

[{{{online resource link}}} {{{online resource}}}]


To use, copy the code below into the desired page, populating the fields listed:

{{ssi-online-resource 
| online resource = 
| online resource link:
| logo link = 
| guide = 
| installed on windows workstations = 
}}

An example of proper usage is shown here:

{{ssi-online-resource 
| online resource = OpenRocket
| online resource link = http://openrocket.info
| logo link = File:Open-rocket-logo.png
| guide = Getting Started with OpenRocket
| installed on windows workstations = true
}}