The wiki has moved!

Visit the new wiki at stationeers-wiki.com The old wiki here at legacy.stationeers-wiki.com will sunset eventually.

Edits made after the 7th of March 6PM EST were NOT carried over to the new server as previously announced right here in this box.

 Actions

Template

Difference between revisions of "Parameters/doc"

From Unofficial Stationeers Wiki

< Template:Parameters
(Condense)
(Order in the classroom)
Line 1: Line 1:
__NOTOC__
+
__NOTOC__ {{Documentation subpage}}
{{Documentation subpage}}
 
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
 
{{Lua|Module:Parameters}}
 
{{Lua|Module:Parameters}}
 
== Usage ==
 
== Usage ==
Line 53: Line 51:
 
{{Hidden|header=Output|content=
 
{{Hidden|header=Output|content=
 
<pre>Identical:
 
<pre>Identical:
 +
* borough
 +
* caption
 +
* events1
 +
* events10
 +
* events11
 
* events2
 
* events2
* years2
+
* events3
* years4
+
* events4
* years10
+
* events5
* caption
+
* events6
 +
* events7
 +
* events8
 +
* events9
 
* latitude
 
* latitude
* years3
+
* longitude
 +
* map_type
 +
* name
 +
* original
 
* platforms
 
* platforms
* name
 
 
* postgroup
 
* postgroup
* years8
 
* original
 
* events9
 
* years9
 
* borough
 
 
* pregroup
 
* pregroup
* events7
 
* years7
 
* map_type
 
* years6
 
 
* symbol
 
* symbol
* events10
+
* symbol2
 +
* symbol3
 +
* symbol4
 +
* tracks
 +
* years1
 +
* years10
 
* years11
 
* years11
 +
* years2
 +
* years3
 +
* years4
 
* years5
 
* years5
* years1
+
* years6
* events11
+
* years7
* events6
+
* years8
* events4
+
* years9
* events3
 
* events1
 
* events5
 
* symbol2
 
* tracks
 
* longitude
 
* events8
 
  
 
Similar:
 
Similar:
 
* events12; events13; events14; events15 < events; events1; events2; events3; events4; events5; events6; events7; events8; events9; events10; events11 [events]
 
* events12; events13; events14; events15 < events; events1; events2; events3; events4; events5; events6; events7; events8; events9; events10; events11 [events]
 
* years12; years13; years14; years15 < years; years1; years2; years3; years4; years5; years6; years7; years8; years9; years10; years11 [years]
 
* years12; years13; years14; years15 < years; years1; years2; years3; years4; years5; years6; years7; years8; years9; years10; years11 [years]
* symbol3; symbol4 < symbol; symbol2 [symbol]
 
  
 
Disparate:
 
Disparate:
 +
* access
 +
* access_note
 
* alt_name
 
* alt_name
 
* alt_name1
 
* alt_name1
 +
* coord_region
 +
* ctbat0910
 +
* ctbat1011
 +
* cyclepark
 +
* dft_category
 +
* dlrbat0708
 +
* dlrbat0809
 +
* dlrbat1011
 +
* fare_zone
 +
* fare_zone_1
 +
* fare_zone_note
 +
* gridref
 +
* image_alt
 
* image_name
 
* image_name
 
* image_size
 
* image_size
 
* imagesize
 
* imagesize
* image_alt
+
* interchange
 +
* interchange1
 +
* interchange2
 +
* interchange3
 +
* interchange4
 +
* interchange5
 +
* interchange_note
 
* label_position
 
* label_position
 +
* listing_amended
 +
* listing_detail
 +
* listing_entry
 +
* listing_grade
 +
* listing_reference
 +
* listing_start
 
* locale
 
* locale
* gridref
 
 
* manager
 
* manager
 
* manager1
 
* manager1
Line 113: Line 138:
 
* railcode1
 
* railcode1
 
* railcode2
 
* railcode2
* dft_category
 
* access
 
* access_note
 
* fare_zone
 
* fare_zone_1
 
* fare_zone_note
 
* interchange
 
* interchange1
 
* interchange2
 
* interchange3
 
* interchange4
 
* interchange5
 
* interchange_note
 
* cyclepark
 
* toilets
 
* tubeexits03
 
* tubeexits04
 
* tubeexits05
 
* tubeexits06
 
* tubeexits07
 
* tubeexits08
 
* tubeexits09
 
* tubeexits10
 
* tubeexits11
 
* tubeexits12
 
* tubeexits13
 
* tubeexits03_ref
 
* tubeexits04_ref
 
* tubeexits05_ref
 
* tubeexits06_ref
 
* dlrbat0708
 
* dlrbat0809
 
* dlrbat1011
 
* ctbat0910
 
* ctbat1011
 
 
* railexits0203
 
* railexits0203
 
* railexits0405
 
* railexits0405
Line 159: Line 149:
 
* railexits1213
 
* railexits1213
 
* railexits1314
 
* railexits1314
 +
* railint0203
 +
* railint0405
 +
* railint0506
 +
* railint0607
 +
* railint0708
 +
* railint0809
 +
* railint0910
 +
* railint1011
 +
* railint1112
 +
* railint1213
 +
* railint1314
 
* raillowexits0203
 
* raillowexits0203
 
* raillowexits0405
 
* raillowexits0405
Line 181: Line 182:
 
* raillowint1213
 
* raillowint1213
 
* raillowint1314
 
* raillowint1314
* railint0203
+
* railstation
* railint0405
 
* railint0506
 
* railint0607
 
* railint0708
 
* railint0809
 
* railint0910
 
* railint1011
 
* railint1112
 
* railint1213
 
* railint1314
 
 
* replace
 
* replace
* listing_detail
+
* toilets
* listing_grade
+
* tubeexits03_ref
* listing_entry
+
* tubeexits04_ref
* listing_start
+
* tubeexits05_ref
* listing_amended
+
* tubeexits06_ref
* listing_reference
+
* tubeexits03
* railstation
+
* tubeexits04
* coord_region
+
* tubeexits05
 +
* tubeexits06
 +
* tubeexits07
 +
* tubeexits08
 +
* tubeexits09
 +
* tubeexits10
 +
* tubeexits11
 +
* tubeexits12
 +
* tubeexits13
 
</pre>
 
</pre>
 
}}
 
}}

Revision as of 11:31, 8 June 2015

Usage

Template:Parameters extracts a specified template's parameters to aid in its documentation or WP:TFD merge nominations. It itself takes two parameters: |1=, the output format; and |base=, the title of a template. Template:Parameters must always be substituted. Its usage is demonstrated below.

Options

code

{{subst:Parameters|code|base=Infobox high court}}
Output
{{Infobox high court
| court_name = 
| native_name = 
| image = 
| imagesize = 
| width = 
| height = 
| caption = 
| image2 = 
| imagesize2 = 
| caption2 = 
| established = 
| dissolved = 
| country = 
| location = 
| coordinates = 
| motto = 
| type = 
| at = 
| authority = 
| appeals = 
| terms = 
| positions = 
| budget = 
| website = 
| chiefjudgetitle = 
| chiefjudgename = 
| termstart = 
| termend = 
| termend2 = 
| chiefjudgetitle2 = 
| chiefjudgename2 = 
| termstart2 = 
| termend3 = 
| termend4 = 
}}

compare

{{subst:Parameters|compare|base=Infobox London station|other=Infobox station}}
Output
Identical:
* borough
* caption
* events1
* events10
* events11
* events2
* events3
* events4
* events5
* events6
* events7
* events8
* events9
* latitude
* longitude
* map_type
* name
* original
* platforms
* postgroup
* pregroup
* symbol
* symbol2
* symbol3
* symbol4
* tracks
* years1
* years10
* years11
* years2
* years3
* years4
* years5
* years6
* years7
* years8
* years9

Similar:
* events12; events13; events14; events15 < events; events1; events2; events3; events4; events5; events6; events7; events8; events9; events10; events11 [events]
* years12; years13; years14; years15 < years; years1; years2; years3; years4; years5; years6; years7; years8; years9; years10; years11 [years]

Disparate:
* access
* access_note
* alt_name
* alt_name1
* coord_region
* ctbat0910
* ctbat1011
* cyclepark
* dft_category
* dlrbat0708
* dlrbat0809
* dlrbat1011
* fare_zone
* fare_zone_1
* fare_zone_note
* gridref
* image_alt
* image_name
* image_size
* imagesize
* interchange
* interchange1
* interchange2
* interchange3
* interchange4
* interchange5
* interchange_note
* label_position
* listing_amended
* listing_detail
* listing_entry
* listing_grade
* listing_reference
* listing_start
* locale
* manager
* manager1
* manager2
* owner
* owner1
* owner2
* railcode
* railcode1
* railcode2
* railexits0203
* railexits0405
* railexits0506
* railexits0607
* railexits0708
* railexits0809
* railexits0910
* railexits1011
* railexits1112
* railexits1213
* railexits1314
* railint0203
* railint0405
* railint0506
* railint0607
* railint0708
* railint0809
* railint0910
* railint1011
* railint1112
* railint1213
* railint1314
* raillowexits0203
* raillowexits0405
* raillowexits0506
* raillowexits0607
* raillowexits0708
* raillowexits0809
* raillowexits0910
* raillowexits1011
* raillowexits1112
* raillowexits1213
* raillowexits1314
* raillowint0203
* raillowint0405
* raillowint0506
* raillowint0607
* raillowint0708
* raillowint0809
* raillowint0910
* raillowint1011
* raillowint1112
* raillowint1213
* raillowint1314
* railstation
* replace
* toilets
* tubeexits03_ref
* tubeexits04_ref
* tubeexits05_ref
* tubeexits06_ref
* tubeexits03
* tubeexits04
* tubeexits05
* tubeexits06
* tubeexits07
* tubeexits08
* tubeexits09
* tubeexits10
* tubeexits11
* tubeexits12
* tubeexits13

demo

{{subst:Parameters|demo|base=Infobox high court}}
Output
{{Parameter names example|court_name|native_name|image|imagesize|width|height|caption|image2|imagesize2|caption2|established|dissolved|country|location|coordinates|motto|type|at|authority|appeals|terms|positions|budget|website|chiefjudgetitle|chiefjudgename|termstart|termend|termend2|chiefjudgetitle2|chiefjudgename2|termstart2|termend3|termend4}}

list

{{subst:Parameters|list|base=Infobox high court}}
Output
* court_name
* native_name
* image
* imagesize
* width
* height
* caption
* image2
* imagesize2
* caption2
* established
* dissolved
* country
* location
* coordinates
* motto
* type
* at
* authority
* appeals
* terms
* positions
* budget
* website
* chiefjudgetitle
* chiefjudgename
* termstart
* termend
* termend2
* chiefjudgetitle2
* chiefjudgename2
* termstart2
* termend3
* termend4