Help:Using templates
From Conservapedia
Using templates can be easy or hard, depending on the template. But normally they are easy.
Sign up to work on the news wikiproject or create wanted pages for the project.
"Real change with a real woman," read one sign at a Wisconsin rally. "Hurricane Sarah leaves liberals spinning," cried another. [1]
September 6, 1620: The Mayflower sets sail from Plymouth, England, carrying 102 passengers.
McCain supporters, claiming they rescued 12,000 miniature American flags from the site of Barack Obama’s nomination acceptance speech last Thursday, redistributed the orphan flags to audience members ahead of a McCain campaign rally in Colorado Springs Saturday.
They say the flags were recovered from Invesco Field in Denver after the conclusion of the Democratic National Convention. A vendor supposedly discovered trash bags full of flags in and nearby dumpsters, and turned them over to the McCain campaign. [2] [3]
Gov. Sarah Palin’s church is promoting a conference that promises to convert gays into heterosexuals through the power of prayer. [4]
Enrollment reaches 56 in the world's largest pre-college American History class, provided by Conservapedia. The in-person class started Thursday, and a free online segment is available at American History Signup.
AP report: Mexican President Felipe Calderon Admits Mexico Disintegrating. [5]
Which Presidential candidate will secure our borders in the first 100 days of their administration, Senator Barack Obama or Senator John McCain?
500,000 more people watched John McCain's acceptance speech (38.9 million) than Barack Obama's the week before (38.4 million).[6]
More disrespect for the men and women in uniform, this time across the pond in Britain, as a hotel says "NO SOLDIERS ALLOWED" and forces an injured soldier to sleep in a car: [7]
Feminist Gloria Steinem declares that Sarah Palin "is Phyllis Schlafly, only younger."[8] Really?
Comments on Steinem's article thrash ... Steinem. Consider this one:
"NEWSFLASH GLORIA:
Not all modern women are atheists, pro-abortion and man-haters.
Funny you criticize Sarah Palin for killing animals (hunting) and at the same time condemn her for being against killing HUMAN BABIES. ..."[9]
The address of the year was Thursday night, with John McCain imploring Americans to "stand up" for our country.
"Tonight, I have a privilege given few Americans -- the privilege of accepting our party’s nomination for President of the United States. And I accept it with gratitude, humility and confidence."
McCain talked at length about his military career, economic issues and foreign policy. His discussed his life of experience and "maverick" streak on Capitol hill.
"I've been called a maverick. Sometimes it's meant as a compliment and sometimes it's not. What it really means is I understand who I work for. I’ve fought corruption, and it didn’t matter if the culprits were Democrats or Republicans. They violated their public trust, and had to be held accountable. I’ve fought big spenders in both parties, who waste your money on things you neither need nor want, while you struggle to buy groceries, fill your gas tank and make your mortgage payment. I’ve fought to get million dollar checks out of our elections. I’ve fought lobbyists who stole from Indian tribes. I fought crooked deals in the Pentagon. I fought tobacco companies and trial lawyers, drug companies and union bosses."
"I don't work for a party. I don't work for a special interest. I don't work for myself. I work for you." [10] [11]
The candidate pretending to represent the working class, Barack Obama, is scheduled to attend a $30,800-ticket fundraiser at the home of the wealthy hard rocker "Jon Bon Jovi" on Friday.[12].
Sarah Palin: The GOP's Rising Star
24,029,000 watched Joe Biden's acceptance speech
37,244,000 watched Sarah Palin's acceptance speech
"The Sarah Palin speech generated 37.2 million viewers, just 1.1 million viewers short of Barack Obama’s record-breaking speech on Day 4 of the Democratic Convention. The Palin speech was carried on only six networks while the Obama speech was carried on ten." [13]
Did you know that the teleprompter broke during Sarah Palin's flawless speech Wednesday evening?
- "Halfway through Sarah Palin's speech tonight at the RNC, people following the speech noticed she was deviating from the prepared text. According to sources close to the McCain campaign, the teleprompter continued scrolling during applause breaks. As a result, half way through the speech, the speech had scrolled significantly from where Governor Palin was in the speech. The malfunction also occurred during Rudy Giuliani's speech, explaining his significant deviations from his speech. ... Unfazed, Governor Palin continued, from memory (and [her notes]), to deliver her speech without the teleprompter cued to the appropriate point in her speech. Contrast this to Barack Obama who, when last his teleprompter malfunctioned, was left stuttering before a crowd unable to advance his speech until the problem was resolved."[14]
An Obama supporter shows her "respect" for a fallen soldier: [15]
Professor values: University of Tennessee Physics professor, J. Reece Roth has been found guilty of passing U.S. Air Force secrets to China and Iran. The jury concluded he was guilty on 18 counts of conspiracy, fraud and violating the Arms Export Control Act. [16]
Sarah Palin gives a stirring talk to the convention, receiving numerous standing ovations as she makes the case for McCain-Palin. McCain then makes an appearance himself with the microphone.
From Rudy Giuliani's keynote tonight: "'We the people' - the citizens of the United States - get to decide our next president...not the media, not Hollywood celebrities, not anyone else."[17]
RIP: Bill Melendez, the animator behind the much-beloved Peanuts animated specials, passed away Tuesday at the age of 91. [18]
Republicans Meet in Minnesota for Convention
Delegates met for day two of the Republican National Convention Tuesday night. Although there were some criticisms of Sen. Barack Obama, the night focused mostly on Sen. John McCain's biography. The night opened with Senator Norm Coleman (R-MN), who praised McCain, saying "he's never given in to adversity. He's never said no to a challenge." First Lady Laura Bush spoke, and would go on to introduce President George W. Bush via satellite from the White House. Former Sen. Fred Thompson (R-TN) spoke about McCain's service as a POW and record in the Senate, saying that "John McCain's character has been tested like no other presidential candidate in the history of this nation." Senator Joe Lieberman (I-CT) gave the final address where he praised McCain's bipartisan record and criticized Obama, "elegance is not a substitute for a record." the former Democratic Vice Presidential nominee said.
The text of the speeches can be found here.
"Liberal fairness": the New York Times falsely smeared Sarah Palin on page one of its newspaper, but would only run an admission of the error on a blog hidden from its readership.
Contents |
Basic instructions
A template is simply a page (usually a very brief one) that is inserted into another page.
For example, the two separate boxes on the Main Page ("Mainpageleft" and "Mainpageright") are each actually separate pages that are "included" on the Main Page. In fact, they can be included on any page: The "Mainpageright" page has been included to the right just to demonstrate that point[1]:
Templates are included on a page by typing the page name in double curly brackets. So to include this page on another page, you could type {{help:Using templates}}. If, however, the template is in "template" namespace (i.e. the page name starts with "template:"), then you don't need to include that bit. So to include the "Mainpageright" page, you would just type {{Mainpageright}}.
For simple templates, that's all there is to it.
Parameters
However, many templates allow you to add to the information in the template, or to change it's appearance, by supplying parameters.
For example, the Welcome template that someone might have put on your user talk page has two parameters. One is the name of the user, and the other is the name of the person placing the welcome message. See the example below welcoming The Joker, placed by Batman:
Welcome!
Hello, Joker, and welcome to Conservapedia!
We're glad you are here to edit. We ask that you read our Editor's Guide as soon as you can.
At the right are some useful links for you. You can include these links on your user page by putting "{{Useful links}}" on the page.
Thanks for reading, Joker!
- from Batman
(This was included on this page by typing {{welcome|Joker|sig=from Batman}}.[1])
"Pipe" characters (|) separate each parameter.
Parameters can be optional or required, and they can be named or not named. In the example above, the first parameter ("Joker") was not named, but the second ("from Batman") was named sig. Two points need to be kept in mind with parameters:
- Named parameters can be supplied in any order.
- Un-named parameters must be supplied in the correct order.
See below for how parameters are provided to templates.
Each template has (or will have) a list of parameters, looking something like this (this one is from the {{welcome}} template):
| Template Parameters (See using templates). | |||
|---|---|---|---|
| Name | Purpose | Required? | Comment |
| 1 | The user name | no (see note) | Defaults to the page name |
| sig | The signature of the editor posting the welcome ("~~~~" will do) | no | |
This tells us the following:
- Neither parameter is required.
- The first parameter (shown as "1") is not named (hence the number, the order in which it must be supplied).
- The second parameter is named ("sig").
- If the first parameter is not supplied, then the page name is used instead.
You can assume that if no default is shown for a parameter that is not required, the result will be blank (i.e. in this case, the welcome message would not show who it was from).
To supply a value to a named parameters, put the parameter name followed by an equals sign (=) followed by whatever you want that to be. In the example above, this is sig=~~~~.
Parameters shown with numbers are the un-named parameters. You can treat them as named parameters, by typing 1=your text, but this is not necessary, except in the case that you want your text to include an equals sign (=). Normally you just supply the value, such as YourUserName.
Each parameter is separated from each other, and from the template name, by a 'pipe' character: |.
So supplying both parameters in the {{welcome}} template would look like this: {{welcome|YourUserName|sig=~~~~}}.
What do you pass to parameters?
Obviously, you give a parameter the text that it expects, such as "from Batman" in the example above. But in most cases, you can give a parameter any text that you like. You could, for example, put "But break any laws and I'll bring the full weight of the law down on you, (signed) Batman"!
In some cases, however, specific text must be supplied. The {{Bible ref}} template, for example, expects a book of the Bible for the "book" parameter, and giving it something that is not a book of the Bible will break the link to BibleGateway that the template creates.
In many cases you can supply a blank value to the parameter. You can set a parameter to be blank by typing nothing after the pipe character for an unnamed parameter, or nothing after the equals sign for a named parameter. For example, if you wanted the welcome template to not show "Joker" or "from Batman", you could type {{welcome||sig=}}.
However, a well-written template will allow you to simply omit the parameter altogether, as the {{welcome}} template does with the sig parameter.
