Template:CabToDisplay: Difference between revisions

From The Brighton Toy and Model Index
Jump to navigationJump to search
(The Circus, The Farm, The Zoo)
(Models of Yesteryear)
Line 22: Line 22:
Before making any changes, try out the new template contents on Template:CabToDisplay_(test) , and if the results work, then paste the code back here.
Before making any changes, try out the new template contents on Template:CabToDisplay_(test) , and if the results work, then paste the code back here.


</noinclude>{{#ifexpr: {{{1|0}}} = 0 |-}}{{#ifexpr: {{{1|0}}} = 1 |1930s Model Railway Layout}}{{#ifexpr: {{{1|0}}} = 2 |Kamov Ka-25 helicopter (RC model)}}{{#ifexpr: {{{1|0}}} = 3 |Toyshop Steam (display)}}{{#ifexpr: {{{1|0}}} = 4 |Traditional Meccano (display)}}{{#ifexpr: {{{1|0}}} = 5 |Custom Steam (display)}}{{#ifexpr: {{{1|0}}} = 6 |Metal Construction Sets (display)}}{{#ifexpr: {{{1|0}}} = 7 |Joy of Little People (display)}}{{#ifexpr: {{{1|0}}} = 8 |The Farm (display)}}{{#ifexpr: {{{1|0}}} = 9 |Biscuit Tins (display)}}{{#ifexpr: {{{1|0}}} = 10 |Teddybears' Picnic (display)}}{{#ifexpr: {{{1|0}}} = 11 |Play Kitchen (display)}}{{#ifexpr: {{{1|0}}} = 12 |The Dolls House (display)}}{{#ifexpr: {{{1|0}}} = 13 |Micromodels Buildings (display)}}{{#ifexpr: {{{1|0}}} = 14 |US and European Locomotive Outlines (display)}}{{#ifexpr: {{{1|0}}} = 15 |Cabinet 15 (Misc Airplanes)}}{{#ifexpr: {{{1|0}}} = 16 |Bleriot to Concorde (display)}}{{#ifexpr: {{{1|0}}} = 17 |Toy Variety (display)}}{{#ifexpr: {{{1|0}}} = 18 |Toy and Model Boats 2 (display)}}{{#ifexpr: {{{1|0}}} = 19 |Japanese Dolls (display)}}{{#ifexpr: {{{1|0}}} = 20 |Ambulance Station (display)}}{{#ifexpr: {{{1|0}}} = 21 |Classic Dinky Toys (John Durrant Collection)}}{{#ifexpr: {{{1|0}}} = 22 |The Spot-On Collection (display)}}{{#ifexpr: {{{1|0}}} = 23 |Corgi Toys (Glenn Butler Collection)}}{{#ifexpr: {{{1|0}}} = 24 |Building Sets 2 (display)}}{{#ifexpr: {{{1|0}}} = 25 |The Legend of Hornby (display)}}{{#ifexpr: {{{1|0}}} = 26 |Building Sets 1 (display)}}{{#ifexpr: {{{1|0}}} = 27 |Budgie Toys (display)}}{{#ifexpr: {{{1|0}}} = 28 |Micromodels Vehicles (display)}}{{#ifexpr: {{{1|0}}} = 29 |}}{{#ifexpr: {{{1|0}}} = 30 |Classic Locomotives (display)}}{{#ifexpr: {{{1|0}}} = 31|Cast Iron Locomotive Paperweights (display)}}{{#ifexpr: {{{1|0}}} = 32 |Märklin Locomotives (display)}}{{#ifexpr: {{{1|0}}} = 33 |Hornby Series (display)}}{{#ifexpr: {{{1|0}}} = 34 |Cuddly Toys (display)}}{{#ifexpr: {{{1|0}}} = 35 |Toy and Model Boats (display)}}{{#ifexpr: {{{1|0}}} = 36 |100 Years of Steam (display)}}{{#ifexpr: {{{1|0}}} = 37 |Hornby Wall (display)}}{{#ifexpr: {{{1|0}}} = 38 |Hornby Wall (display)}}{{#ifexpr: {{{1|0}}} = 39 |End Cabinet (display)}}{{#ifexpr: {{{1|0}}} = 40 |Newtown model railway layout}}{{#ifexpr: {{{1|0}}} = 41 |East Sussex Countryside model railway layout}}{{#ifexpr: {{{1|0}}} = 42 |Hornby Controller (display)}}{{#ifexpr: {{{1|0}}} = 43 |00-gauge Miscellaneous (display)}}{{#ifexpr: {{{1|0}}} = 44 |The Zoo (display)}}{{#ifexpr: {{{1|0}}} = 45 |The Circus (display)}}{{#ifexpr: {{{1|0}}} = 46 |Lead figures (Film and TV)}}{{#ifexpr: {{{1|0}}} = 47 |New Imperial Motorcycle (display)}}{{#ifexpr: {{{1|0}}} = 48 |Bing Table Railway (display)}}{{#ifexpr: {{{1|0}}} = 49 |(Under Construction)}}{{#ifexpr: {{{1|0}}} = 50 |Puppet Corner}}{{#ifexpr: {{{1|0}}} = 51 |Childrens TV Glovepuppets (display)}}{{#ifexpr: {{{1|0}}} = 52 |Other Puppets (display)}}{{#ifexpr: {{{1|0}}} = 53 |Halloween Puppets (display)}}{{#ifexpr: {{{1|0}}} = 54 |Pelham Puppets Misc. (display)}}{{#ifexpr: {{{1|0}}} = 55 |Puppet Theatres (display)}}{{#ifexpr: {{{1|0}}} = 56 |}}{{#ifexpr: {{{1|0}}} = 57 |Period Costume Figures (display)}}{{#ifexpr: {{{1|0}}} = 58 |Wooden Cutout Figures (display)}}{{#ifexpr: {{{1|0}}} = 59 |}}{{#ifexpr: {{{1|0}}} = 60 |}}{{#ifexpr: {{{1|0}}} = 61 |}}{{#ifexpr: {{{1|0}}} = 62 |}}{{#ifexpr: {{{1|0}}} = 63 |}}{{#ifexpr: {{{1|0}}} = 64 |}}{{#ifexpr: {{{1|0}}} = 65 |}}{{#ifexpr: {{{1|0}}} = 66 |}}{{#ifexpr: {{{1|0}}} = 67 |}}{{#ifexpr: {{{1|0}}} = 68 |}}{{#ifexpr: {{{1|0}}} = 69 |}}{{#ifexpr: {{{1|0}}} = 70 |}}{{#ifexpr: {{{1|0}}} = 71 |Arch One, Overhead}}{{#ifexpr: {{{1|0}}} = 72 |Arch Two, Overhead}}{{#ifexpr: {{{1|0}}} = 73 |Arch Three, Overhead}}{{#ifexpr: {{{1|0}}} = 74 |Arch Four, Overhead}}{{#ifexpr: {{{1|0}}} = 75 |}}{{#ifexpr: {{{1|0}}} = 76 |Arch One, Misc.}}{{#ifexpr: {{{1|0}}} = 77 |Arch Two, Misc.}}{{#ifexpr: {{{1|0}}} = 78 |Arch Three, Misc.}}{{#ifexpr: {{{1|0}}} = 79 |Arch Four, Misc.}}{{#ifexpr: {{{1|0}}} = 80 |Glamour of Brighton (exhibition)}}{{#ifexpr: {{{1|0}}} = 81 |Brighton Beach (display)}}{{#ifexpr: {{{1|0}}} = 82 |Brighton Seafront (display)}}{{#ifexpr: {{{1|0}}} = 83 |Visitors' Brighton (display)}}{{#ifexpr: {{{1|0}}} = 84 |London to Brighton Rally (display)}}{{#ifexpr: {{{1|0}}} = 85 |Brighton Locomotive Works (display)}}{{#ifexpr: {{{1|0}}} = 86 |Brighton Belle (display)}}{{#ifexpr: {{{1|0}}} = 87 |}}{{#ifexpr: {{{1|0}}} = 88 |}}{{#ifexpr: {{{1|0}}} = 89 |}}{{#ifexpr: {{{1|0}}} = 101 |}}{{#ifexpr: {{{1|0}}} = 102 |}}{{#ifexpr: {{{1|0}}} = 103 |}}{{#ifexpr: {{{1|0}}} = 104 |}}{{#ifexpr: {{{1|0}}} = 1000 |No longer on display (display)}}
</noinclude>{{#ifexpr: {{{1|0}}} = 0 |-}}{{#ifexpr: {{{1|0}}} = 1 |1930s Model Railway Layout}}{{#ifexpr: {{{1|0}}} = 2 |Kamov Ka-25 helicopter (RC model)}}{{#ifexpr: {{{1|0}}} = 3 |Toyshop Steam (display)}}{{#ifexpr: {{{1|0}}} = 4 |Traditional Meccano (display)}}{{#ifexpr: {{{1|0}}} = 5 |Custom Steam (display)}}{{#ifexpr: {{{1|0}}} = 6 |Metal Construction Sets (display)}}{{#ifexpr: {{{1|0}}} = 7 |Joy of Little People (display)}}{{#ifexpr: {{{1|0}}} = 8 |The Farm (display)}}{{#ifexpr: {{{1|0}}} = 9 |Biscuit Tins (display)}}{{#ifexpr: {{{1|0}}} = 10 |Teddybears' Picnic (display)}}{{#ifexpr: {{{1|0}}} = 11 |Play Kitchen (display)}}{{#ifexpr: {{{1|0}}} = 12 |The Dolls House (display)}}{{#ifexpr: {{{1|0}}} = 13 |Micromodels Buildings (display)}}{{#ifexpr: {{{1|0}}} = 14 |US and European Locomotive Outlines (display)}}{{#ifexpr: {{{1|0}}} = 15 |Cabinet 15 (Misc Airplanes)}}{{#ifexpr: {{{1|0}}} = 16 |Bleriot to Concorde (display)}}{{#ifexpr: {{{1|0}}} = 17 |Toy Variety (display)}}{{#ifexpr: {{{1|0}}} = 18 |Toy and Model Boats 2 (display)}}{{#ifexpr: {{{1|0}}} = 19 |Japanese Dolls (display)}}{{#ifexpr: {{{1|0}}} = 20 |Ambulance Station (display)}}{{#ifexpr: {{{1|0}}} = 21 |Classic Dinky Toys (John Durrant Collection)}}{{#ifexpr: {{{1|0}}} = 22 |The Spot-On Collection (display)}}{{#ifexpr: {{{1|0}}} = 23 |Corgi Toys (Glenn Butler Collection)}}{{#ifexpr: {{{1|0}}} = 24 |Building Sets 2 (display)}}{{#ifexpr: {{{1|0}}} = 25 |The Legend of Hornby (display)}}{{#ifexpr: {{{1|0}}} = 26 |Building Sets 1 (display)}}{{#ifexpr: {{{1|0}}} = 27 |Budgie Toys (display)}}{{#ifexpr: {{{1|0}}} = 28 |Micromodels Vehicles (display)}}{{#ifexpr: {{{1|0}}} = 29 |}}{{#ifexpr: {{{1|0}}} = 30 |Classic Locomotives (display)}}{{#ifexpr: {{{1|0}}} = 31|Cast Iron Locomotive Paperweights (display)}}{{#ifexpr: {{{1|0}}} = 32 |Märklin Locomotives (display)}}{{#ifexpr: {{{1|0}}} = 33 |Hornby Series (display)}}{{#ifexpr: {{{1|0}}} = 34 |Cuddly Toys (display)}}{{#ifexpr: {{{1|0}}} = 35 |Toy and Model Boats (display)}}{{#ifexpr: {{{1|0}}} = 36 |Models of Yesteryear (display)}}{{#ifexpr: {{{1|0}}} = 37 |Hornby Wall (display)}}{{#ifexpr: {{{1|0}}} = 38 |Hornby Wall (display)}}{{#ifexpr: {{{1|0}}} = 39 |End Cabinet (display)}}{{#ifexpr: {{{1|0}}} = 40 |Newtown model railway layout}}{{#ifexpr: {{{1|0}}} = 41 |East Sussex Countryside model railway layout}}{{#ifexpr: {{{1|0}}} = 42 |Hornby Controller (display)}}{{#ifexpr: {{{1|0}}} = 43 |00-gauge Miscellaneous (display)}}{{#ifexpr: {{{1|0}}} = 44 |The Zoo (display)}}{{#ifexpr: {{{1|0}}} = 45 |The Circus (display)}}{{#ifexpr: {{{1|0}}} = 46 |Lead figures (Film and TV)}}{{#ifexpr: {{{1|0}}} = 47 |New Imperial Motorcycle (display)}}{{#ifexpr: {{{1|0}}} = 48 |Bing Table Railway (display)}}{{#ifexpr: {{{1|0}}} = 49 |(Under Construction)}}{{#ifexpr: {{{1|0}}} = 50 |Puppet Corner}}{{#ifexpr: {{{1|0}}} = 51 |Childrens TV Glovepuppets (display)}}{{#ifexpr: {{{1|0}}} = 52 |Other Puppets (display)}}{{#ifexpr: {{{1|0}}} = 53 |Halloween Puppets (display)}}{{#ifexpr: {{{1|0}}} = 54 |Pelham Puppets Misc. (display)}}{{#ifexpr: {{{1|0}}} = 55 |Puppet Theatres (display)}}{{#ifexpr: {{{1|0}}} = 56 |}}{{#ifexpr: {{{1|0}}} = 57 |Period Costume Figures (display)}}{{#ifexpr: {{{1|0}}} = 58 |Wooden Cutout Figures (display)}}{{#ifexpr: {{{1|0}}} = 59 |}}{{#ifexpr: {{{1|0}}} = 60 |}}{{#ifexpr: {{{1|0}}} = 61 |}}{{#ifexpr: {{{1|0}}} = 62 |}}{{#ifexpr: {{{1|0}}} = 63 |}}{{#ifexpr: {{{1|0}}} = 64 |}}{{#ifexpr: {{{1|0}}} = 65 |}}{{#ifexpr: {{{1|0}}} = 66 |}}{{#ifexpr: {{{1|0}}} = 67 |}}{{#ifexpr: {{{1|0}}} = 68 |}}{{#ifexpr: {{{1|0}}} = 69 |}}{{#ifexpr: {{{1|0}}} = 70 |}}{{#ifexpr: {{{1|0}}} = 71 |Arch One, Overhead}}{{#ifexpr: {{{1|0}}} = 72 |Arch Two, Overhead}}{{#ifexpr: {{{1|0}}} = 73 |Arch Three, Overhead}}{{#ifexpr: {{{1|0}}} = 74 |Arch Four, Overhead}}{{#ifexpr: {{{1|0}}} = 75 |}}{{#ifexpr: {{{1|0}}} = 76 |Arch One, Misc.}}{{#ifexpr: {{{1|0}}} = 77 |Arch Two, Misc.}}{{#ifexpr: {{{1|0}}} = 78 |Arch Three, Misc.}}{{#ifexpr: {{{1|0}}} = 79 |Arch Four, Misc.}}{{#ifexpr: {{{1|0}}} = 80 |Glamour of Brighton (exhibition)}}{{#ifexpr: {{{1|0}}} = 81 |Brighton Beach (display)}}{{#ifexpr: {{{1|0}}} = 82 |Brighton Seafront (display)}}{{#ifexpr: {{{1|0}}} = 83 |Visitors' Brighton (display)}}{{#ifexpr: {{{1|0}}} = 84 |London to Brighton Rally (display)}}{{#ifexpr: {{{1|0}}} = 85 |Brighton Locomotive Works (display)}}{{#ifexpr: {{{1|0}}} = 86 |Brighton Belle (display)}}{{#ifexpr: {{{1|0}}} = 87 |}}{{#ifexpr: {{{1|0}}} = 88 |}}{{#ifexpr: {{{1|0}}} = 89 |}}{{#ifexpr: {{{1|0}}} = 101 |}}{{#ifexpr: {{{1|0}}} = 102 |}}{{#ifexpr: {{{1|0}}} = 103 |}}{{#ifexpr: {{{1|0}}} = 104 |}}{{#ifexpr: {{{1|0}}} = 1000 |No longer on display (display)}}

Revision as of 19:02, 3 November 2015

This is an important template, used by some of the other common templates.

What it does is to take in a number (usually a cabinet number), and output the name of a page. This can be used either for listings or for linking.

Use

{{CabToDisplay|10>}} displays as :Category:Teddybears' Picnic (display)

In square brackets,
[[ {{>CabToDisplay|10>}} ]] displays as Category:Teddybears' Picnic (display)

In square brackets with alternative display text, (squarebracket)(squarebracket) (squiggle)(squiggle)CabToDisplay|10(squiggle)(squiggle)|Bears (squarebracket)(squarebracket) displays as Bears

Editing

Please don't edit this template unless you really know what you're doing!

It's tempting to reorganise the list to make it easier to read and edit, but any extra spaces or line-breaks present in the list when it's saved will badly mess up the results on every page that uses the template, directly or indirectly, by adding a LOT of unwanted linebreaks and whitespace.

Before making any changes, try out the new template contents on Template:CabToDisplay_(test) , and if the results work, then paste the code back here.

-