Template:University entry: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (added documentation)
m (doc change)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
|{{#if: {{{University|}}} | {{{University}}} }}
|{{#if: {{{University|}}} | {{w | {{{University}}} }} }}
|{{#if: {{{LinkToSegment|}}} | {{{LinkToSegment}}} }}
|{{#if: {{{LinkToSegment|}}} | {{{LinkToSegment}}} }}
|{{#if: {{{Description|}}} | {{{Description}}} }}
|{{#if: {{{Description|}}} | {{{Description}}} }}
Line 5: Line 5:
=== Description ===
=== Description ===
This template is used to add formatted entries to the sortable table on the [[Universities on the SGU]] page.
This template is used to add formatted entries to the sortable table on the [[Universities on the SGU]] page.
==== Note ====
Automatic links to the Wikipedia page are provided for the Universities. Links will not show red if there is no entry. They may land on a "not found" page if it is misspelled or otherwise misnamed.


=== Usage ===
=== Usage ===

Latest revision as of 15:53, 13 September 2016

| | |

Description[edit]

This template is used to add formatted entries to the sortable table on the Universities on the SGU page.

Note[edit]

Automatic links to the Wikipedia page are provided for the Universities. Links will not show red if there is no entry. They may land on a "not found" page if it is misspelled or otherwise misnamed.

Usage[edit]

Entries should be added in order, as the table does not automatically order itself on opening.


Optional variables:

  • University
  • LinkToSegment
  • Description

Example:

{|class=wikitable
<!--- other entries --->

{{University entry
|University    = University of Ferrarra in Italy
|LinkToSegment     = [[SGU_Episode_3#Interview_with_Massimo_Pigliucci_.2816:22.29]]
|Description  = Massimo Pigliucci got a degree there
}}

<!--- other entries --->
|}

Output:

University of Ferrarra in Italy SGU_Episode_3#Interview_with_Massimo_Pigliucci_.2816:22.29 Massimo Pigliucci got a degree there


Copy[edit]

{{University entry
|University    = University of Ferrarra in Italy
|LinkToSegment     = [[SGU_Episode_3#Interview_with_Massimo_Pigliucci_.2816:22.29]]
|Description  = Massimo Pigliucci got a degree there
}}