Template:University entry: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
Bshirley (talk | contribs)
m added category
Bshirley (talk | contribs)
m doc change
 
(2 intermediate revisions 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 ===
Line 17: Line 20:
Example:
Example:
<pre>
<pre>
{|class=wikitable
<!--- other entries --->
{{University entry
{{University entry
|University    = University of Ferrarra in Italy
|University    = University of Ferrarra in Italy
|LinkToSegment    = https://www.sgutranscripts.org/wiki/SGU_Episode_3#Interview_with_Massimo_Pigliucci_.2816:22.29
|LinkToSegment    = [[SGU_Episode_3#Interview_with_Massimo_Pigliucci_.2816:22.29]]
|Description  = Massimo Pigliucci got a degree there
|Description  = Massimo Pigliucci got a degree there
}}
}}
<!--- other entries --->
|}
</pre>
</pre>
Output:
{|class=wikitable
{{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
}}
|}


=== Copy ===
=== Copy ===
Line 28: Line 47:
{{University entry
{{University entry
|University    = University of Ferrarra in Italy
|University    = University of Ferrarra in Italy
|LinkToSegment    = https://www.sgutranscripts.org/wiki/SGU_Episode_3#Interview_with_Massimo_Pigliucci_.2816:22.29
|LinkToSegment    = [[SGU_Episode_3#Interview_with_Massimo_Pigliucci_.2816:22.29]]
|Description  = Massimo Pigliucci got a degree there
|Description  = Massimo Pigliucci got a degree there
}}
}}

Latest revision as of 04:53, 13 September 2016

| | |

Description

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

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

{{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
}}