Template:Qotw topic/doc: Difference between revisions
m (moved Template:Qotw/doc to Template:Qotw topic/doc) |
m (Protected "Template:Qotw topic/doc": Robot: Protecting all pages from category templates ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''{{tl|qotw}}''' is for the easy placement of topics on the page, | '''{{tl|qotw}}''' is for the easy placement of topics on the page, Quote of the Week nominations. This template reduces the burden of entering a new topic to a few keystrokes — instead of cutting, pasting and altering each individual topic. | ||
==Variables== | == Variables == | ||
The following variables are recognized by the template: | The following variables are recognized by the template: | ||
<pre width="60"> | <pre width="60"> | ||
Line 21: | Line 21: | ||
</pre> | </pre> | ||
==Usage== | == Usage == | ||
The basic usage for this template is: | The basic usage for this template is: | ||
<pre width=60> | <pre width=60> | ||
Line 29: | Line 29: | ||
</pre> | </pre> | ||
Let's now go through the various messages displayed when the above variables are employed. | Let's now go through the various messages displayed when the above variables are employed. | ||
===Person=== | === Person === | ||
If you type: | If you type: | ||
<pre width=60> | <pre width=60> | ||
Line 36: | Line 36: | ||
You'll get: | You'll get: | ||
{{qotw|person=Calcula}} | {{qotw|person=Calcula}} | ||
===Story=== | === Story === | ||
If you type: | If you type: | ||
<pre width=60> | <pre width=60> | ||
Line 44: | Line 44: | ||
{{qotw|story=The End of Time (TV story)}} | {{qotw|story=The End of Time (TV story)}} | ||
Note here that we'd want the disambiguation showing, because it makes it crystal clear that we're talking about the [[David Tennant]] swansong, and not a book in [[The Darksmith Legacy]] series. | Note here that we'd want the disambiguation showing, because it makes it crystal clear that we're talking about the [[David Tennant]] swansong, and not a book in [[The Darksmith Legacy]] series. | ||
===Thing=== | === Thing === | ||
If you type: | If you type: | ||
<pre width=60> | <pre width=60> | ||
Line 51: | Line 51: | ||
You'll get: | You'll get: | ||
{{qotw|thing=[[hospital]]s}} | {{qotw|thing=[[hospital]]s}} | ||
===More=== | === More === | ||
Let's say that you wanted to be a bit more specific. Then you would use: | Let's say that you wanted to be a bit more specific. Then you would use: | ||
<pre width=60> | <pre width=60> | ||
Line 59: | Line 59: | ||
'''More''' can be used with any of the message types, except for '''freeform'''. | '''More''' can be used with any of the message types, except for '''freeform'''. | ||
===Freeform=== | === Freeform === | ||
The freeform variable is for when you can't express your topic in terms of one of the above messages. Its usage would be fairly rare, because you can add the '''more''' variable to any of the above messages to improve their flexibility. However, when you just can't make your topic fit the above molds, this is your variable. Note that a '''freeform''' message doesn't accept the '''more''' variable, and that it automatically includes the "valid sources" line. | The freeform variable is for when you can't express your topic in terms of one of the above messages. Its usage would be fairly rare, because you can add the '''more''' variable to any of the above messages to improve their flexibility. However, when you just can't make your topic fit the above molds, this is your variable. Note that a '''freeform''' message doesn't accept the '''more''' variable, and that it automatically includes the "valid sources" line. | ||
If you type: | If you type: | ||
Line 67: | Line 67: | ||
You'll get: | You'll get: | ||
{{qotw|freeform=I honestly can't think of a time you'd ''need'' to use it, but it's here if you want it.}} | {{qotw|freeform=I honestly can't think of a time you'd ''need'' to use it, but it's here if you want it.}} | ||
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 02:08, 13 May 2013
{{qotw}} is for the easy placement of topics on the page, Quote of the Week nominations. This template reduces the burden of entering a new topic to a few keystrokes — instead of cutting, pasting and altering each individual topic.
Variables
The following variables are recognized by the template:
AUTO-LINKING VARIABLES (if disambiguated, we want the disambiguation showing for clarity) person = topic is person story = topic is story NON-LINKING VARIABLES thing = topic is something other than a person or story. (Not linked, because pluralisation often grammatically desirable.) more = something allowed with all of the above variables (it lets you tag a bit more info onto a message for clarification) freeform = allows totally freeform message
Usage
The basic usage for this template is:
{{qotw|variable=text}} or, if addendum is required {{qotw|variable=text|more=text}}
Let's now go through the various messages displayed when the above variables are employed.
Person
If you type:
{{qotw|person=Calcula}}
You'll get:
- Elizabeth Klein: Schmidt called it "the TARDIS". It meant nothing to me. I'd never heard that name until I met you. How on Earth could Schmidt know it?
- Seventh Doctor:: The memory cheats. Perhaps your memory is playing tricks with you. I used to think Professor X was better in the sixties until I went back and watched it again. even Vault of the Cyborgs.
- Klein: No, I know what I heard. He definitely said, "TARDIS".
- Seventh Doctor: Anyway it's all in the past now. Well, a version of the past. Your past, to be more precise.
- Klein: How could Schmidt have known? Yet another thing to haunt me the rest of my life. I can't let it go. Somehow, I just know that it's important. I can feel it.
Story
If you type:
{{qotw|story=The End of Time (TV story)}}
You'll get:
- Elizabeth Klein: Schmidt called it "the TARDIS". It meant nothing to me. I'd never heard that name until I met you. How on Earth could Schmidt know it?
- Seventh Doctor:: The memory cheats. Perhaps your memory is playing tricks with you. I used to think Professor X was better in the sixties until I went back and watched it again. even Vault of the Cyborgs.
- Klein: No, I know what I heard. He definitely said, "TARDIS".
- Seventh Doctor: Anyway it's all in the past now. Well, a version of the past. Your past, to be more precise.
- Klein: How could Schmidt have known? Yet another thing to haunt me the rest of my life. I can't let it go. Somehow, I just know that it's important. I can feel it.
Note here that we'd want the disambiguation showing, because it makes it crystal clear that we're talking about the David Tennant swansong, and not a book in The Darksmith Legacy series.
Thing
If you type:
{{qotw|thing=[[hospital]]s}}
You'll get:
- Elizabeth Klein: Schmidt called it "the TARDIS". It meant nothing to me. I'd never heard that name until I met you. How on Earth could Schmidt know it?
- Seventh Doctor:: The memory cheats. Perhaps your memory is playing tricks with you. I used to think Professor X was better in the sixties until I went back and watched it again. even Vault of the Cyborgs.
- Klein: No, I know what I heard. He definitely said, "TARDIS".
- Seventh Doctor: Anyway it's all in the past now. Well, a version of the past. Your past, to be more precise.
- Klein: How could Schmidt have known? Yet another thing to haunt me the rest of my life. I can't let it go. Somehow, I just know that it's important. I can feel it.
More
Let's say that you wanted to be a bit more specific. Then you would use:
{{qotw|thing=[[hospital]]s|more=Your quote must involve the opinion of a [[nurse]].}}
- Elizabeth Klein: Schmidt called it "the TARDIS". It meant nothing to me. I'd never heard that name until I met you. How on Earth could Schmidt know it?
- Seventh Doctor:: The memory cheats. Perhaps your memory is playing tricks with you. I used to think Professor X was better in the sixties until I went back and watched it again. even Vault of the Cyborgs.
- Klein: No, I know what I heard. He definitely said, "TARDIS".
- Seventh Doctor: Anyway it's all in the past now. Well, a version of the past. Your past, to be more precise.
- Klein: How could Schmidt have known? Yet another thing to haunt me the rest of my life. I can't let it go. Somehow, I just know that it's important. I can feel it.
More can be used with any of the message types, except for freeform.
Freeform
The freeform variable is for when you can't express your topic in terms of one of the above messages. Its usage would be fairly rare, because you can add the more variable to any of the above messages to improve their flexibility. However, when you just can't make your topic fit the above molds, this is your variable. Note that a freeform message doesn't accept the more variable, and that it automatically includes the "valid sources" line. If you type:
{{qotw|freeform=I honestly can't think of a time you'd ''need'' to use it, but it's here if you want it.}}
You'll get:
- Elizabeth Klein: Schmidt called it "the TARDIS". It meant nothing to me. I'd never heard that name until I met you. How on Earth could Schmidt know it?
- Seventh Doctor:: The memory cheats. Perhaps your memory is playing tricks with you. I used to think Professor X was better in the sixties until I went back and watched it again. even Vault of the Cyborgs.
- Klein: No, I know what I heard. He definitely said, "TARDIS".
- Seventh Doctor: Anyway it's all in the past now. Well, a version of the past. Your past, to be more precise.
- Klein: How could Schmidt have known? Yet another thing to haunt me the rest of my life. I can't let it go. Somehow, I just know that it's important. I can feel it.