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

From Stanford SSI Wiki
Jump to navigation Jump to search
 
(13 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|}}}|
 +
!colspan="2"{{pipe}}{{#ifeq:{{{installed on windows workstations|}}}|true|Available on SSI [[Windows Remote VMs]] :-)|}}
 +
{{pipe}}-}}
 
{{#if:{{{logo link|}}}|
 
{{#if:{{{logo link|}}}|
 
{{pipe}}colspan="2" style="text-align:center;"{{pipe}} [[{{{logo link}}} {{pipe}} 250px]]
 
{{pipe}}colspan="2" style="text-align:center;"{{pipe}} [[{{{logo link}}} {{pipe}} 250px]]
 
{{pipe}}-}}
 
{{pipe}}-}}
 
{{#if:{{{guide|}}}|
 
{{#if:{{{guide|}}}|
{{pipe}}<b>Guide</b>
+
!colspan="2"{{pipe}}[[{{{guide}}}]]
{{pipe}}{{{guide}}}
 
{{pipe}}-}}
 
{{#if:{{{installed on windows workstations|}}}|
 
{{pipe}}<b>Installed on SSI Windows Workstations</b>
 
{{pipe}}{{{installed on windows workstations}}}
 
 
{{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 21: 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 32: 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
}}