Difference between revisions of "Template:McD"

From Hitchwiki
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
'''This template is still under construction'''
+
 
 +
==Under construction==
 +
Don't use this template yet.
 +
 
 +
==Why?==
 +
On hitchwiki we don't want to advertise McD. But many of our favorite hitchhiking spots are near Ronalds burger joint. So when we refer to one, we use a nickname for it.
 +
Feel free to add more nicknames.
 
</noinclude>
 
</noinclude>
  
{{#if: {{{1|}}}  
+
{{#if: {{{1}}} |
| {{#switch: {{{1}}}
+
  {{#ifeq: {{{1}}} | 1 | [[https://hitchwiki.org/en/Template:McD | Golden Arches]]}}
  | 1 =[[Template:McD|Golden Arches]]
+
   {{#ifeq: {{{1}}} | 2 | [[https://hitchwiki.org/en/Template:McD | Yellow burger chain]]}}
   | 2 =[[Template:McD|Yellow burger chain]]
+
   {{#ifeq: {{{1}}} | 3 | [[https://hitchwiki.org/en/Template:McD | Ronald's grease pan]]}}
   | 3 =[[Template:McD|Ronald's grease pan]]
+
   {{#ifeq: {{{1}}} | 4 | [[https://hitchwiki.org/en/Template:McD | Mickey's D]]}}
   | 4 =[[Template:McD|Mickey's D]]
+
   {{#ifeq: {{{1}}} | 5 | [[https://hitchwiki.org/en/Template:McD | The greasy arches]]}}
   | 5 =[[Template:McD|The greasy arches]]
+
   {{#ifeq: {{{1}}} | 6 | [[https://hitchwiki.org/en/Template:McD | Clown's burgers]]}}
   | 6 =[[Template:McD|Clown's burgers]]
+
   | Invalid number! Please use a number between 1 and 6.
   | {{#default: Invalid number! Please use a number between 1 and 6.}}
 
}}
 
| Choose a McD nickname:
 
* 1: Golden Arches
 
* 2: Yellow burger chain
 
* 3: Ronald's grease pan
 
* 4: Mickey's D
 
* 5: The greasy arches
 
* 6: Clown's burgers
 
 
}}
 
}}
  
 
<noinclude>
 
<noinclude>
 
==Why==
 
[[Hitchwiki:How we want to keep Hitchwiki]]<br>
 
On hitchwiki we don't want to promote {{McD|3}}. But many of our favorite hitchhiking spots are near one.
 
 
==Usage==
 
==Usage==
 
To use this template, pass a number (1 to 6) as a parameter like this:
 
To use this template, pass a number (1 to 6) as a parameter like this:
 +
'''Choose a McDonald's nickname:'''
 +
* '''1: Golden Arches'''
 +
* '''2: Yellow burger chain'''
 +
* '''3: Ronald's grease pan'''
 +
* '''4: Mickey's D'''
 +
* '''5: The greasy arches'''
 +
* '''6: Clown's burgers'''
  
<nowiki>{{McD|1}}</nowiki>
+
<nowiki>{{McD|1}}</nowiki>
  
 
This will display the corresponding nickname from the list.
 
This will display the corresponding nickname from the list.
Feel free to add more nickknames.
+
==Test==
 +
{{McD|2}}
 +
 
 +
 
 +
 
 
== Notes ==
 
== Notes ==
 
- The displayed name is clickable and will link back to this template.
 
- The displayed name is clickable and will link back to this template.

Latest revision as of 19:45, 13 January 2025


Under construction

Don't use this template yet.

Why?

On hitchwiki we don't want to advertise McD. But many of our favorite hitchhiking spots are near Ronalds burger joint. So when we refer to one, we use a nickname for it. Feel free to add more nicknames.



Usage

To use this template, pass a number (1 to 6) as a parameter like this: Choose a McDonald's nickname:

  • 1: Golden Arches
  • 2: Yellow burger chain
  • 3: Ronald's grease pan
  • 4: Mickey's D
  • 5: The greasy arches
  • 6: Clown's burgers

{{McD|1}}

This will display the corresponding nickname from the list.

Test

[| Yellow burger chain]


Notes

- The displayed name is clickable and will link back to this template.