Help:Templates: Difference between revisions
m (Text replace - "1f4973" to "{{ZWheader}}") |
PhantomCaleb (talk | contribs) mNo edit summary |
||
Line 402: | Line 402: | ||
|width="100%" class="MergeTemplate" style="border: 1px solid #{{ZWborder}}; background-color: #{{ZWheader}}"| | |width="100%" class="MergeTemplate" style="border: 1px solid #{{ZWborder}}; background-color: #{{ZWheader}}"| | ||
<div style="padding: .4em .9em .9em"> | <div style="padding: .4em .9em .9em"> | ||
<div class="messagebox merge">[[File: | <div class="messagebox merge">[[File:Spirit flute.png|left|40px|You have learned the Song of Common Sense!]] The following text needs to be [[Wikipedia:Wikipedia:Summary style|harmonized]] with text in {{Pagelist|delim=''||||||||||||||||||||}}. Discuss this on {{#ifexist::{{NAMESPACE}} talk:{{PAGENAMEE}}|<span class="plainlinks">[http://zeldawiki.org/{{TALKSPACEE}}:{{PAGENAMEE}} the article's talk page]</span>|the article's talk page}}.</div> | ||
</div> | </div> | ||
|} | |} |
Revision as of 16:49, 18 December 2011
Zelda Wiki's Help Guide |
Basic Editing: Getting Started Canon Policy Archiving Talk Pages |
Templates are just that: templates that can be used on any page to standardize some element. There are many kinds of templates, each serving a different goal.
Essentially, a template is a separate page, and by including the name of that page enclosed in {{two curly brackets}} in a page, the entire contents of that template page will be displayed on the page you've posted it on. Many templates have extra parameters that will form the actual content of the template.
Types of Templates
- See all navigation templates
The simplest kind of template, navigation templates are simple templates that list several pages and facilitate page navigation. They are placed on pages of similar types, as can be seen with templates such as the {{songs}} or {{fairies}} templates. These contain no extra parameters to modify.
Infobox Templates
- See all infobox templates
Infobox templates have specific fields relating to particular topics depending on what the infobox's intended purpose is, such as {{game}} or {{system}}. These contain extra parameters to modify in order to display the necessary information.
Formatting Templates
- See all formatting templates
Formatting templates exist to help with the standardization of formatting across the Wiki - they essentially mold what you've written to appear a certain way. An excellent example would be the {{cite}} template; it ensures that all in-game citations in references appear the same throughout the entire site. These contain extra parameters to modify.
Making a Template
The easiest way is to add {{your template name}} to the Sandbox, and click on the red link that appears. From there you can create your template, which is most easily done by copying and pasting the code from a similar template; then you can just modify it.
Make sure that at the end of the last line of the ACTUAL TEMPLATE you add <noinclude> to begin any section detailing how to use the template, and also the add the necessary category for that template. Do not finish the template, create a new line, and then add the <noinclude> tag.
Examples
Notice Templates | ||||
---|---|---|---|---|
What to type | What it's for | What it makes | ||
{{Accuracy}} |
Alert readers to disputed accuracy. | |||
{{Ambig}} |
Alert readers to ambiguous canon status. | Ambiguously Canon Content! Be advised that the following article or section contains ambiguously canon content, which has been unconfirmed by Nintendo. | ||
{{Archive}} |
Alert readers to read but not edit the archive. | |||
{{Archives}} |
More like a nav template to get to archived versions. (Note: It floats to the left.) | |||
{{Cleanup-date}} |
Alert editors to dirty articles? |
| ||
{{Copyvio}} |
Alert editors to potential copyright issues. |
| ||
{{Imdel}} |
Alerts staff to an image to be deleted, and a reason. |
| ||
{{Delete}} |
Alerts staff to an article to be deleted, preferably after seeking consensus. |
| ||
{{Disambig}} |
Alerts viewers to the ambiguous search term, no article should link to these. | ----
| ||
{{Ex-Featured}} |
Alerts viewers to the previous featured status of an article. | File:Crest of Hyrule Broken.png | ||
{{Fact}} |
Notifies editors that a source is needed for a statement. | [citation needed] | ||
{{Featured}} |
Boasts the Featured Article status for the article. | |||
{{Future game}} |
Use on content concerning unreleased material. |
| ||
{{Gallery}} |
Use to send viewers to the image gallery for the article. |
| ||
{{Guide}} |
Notifies editors to remove the strategy guide style of the article. |
| ||
{{Howtosig}} |
A message to send people that do not sign talkspace posts. | == Signatures ==
Hello! I noticed that you seem to be having some trouble with the signature coding — don't worry, it happens a lot. You only need to type one thing:
That's it. Just those four tildes. They automatically add your name and the time you made your post when you save the page, so you don't have to type any of that yourself! Hope this helped, and thank you for your contributions! If you still have questions, feel free to ask me on my talk page! | ||
{{Hi}} |
A message the bot will send to all new users. | == Hello ==
| ||
{{Images}} |
Post on articles lacking images. |
| ||
{{Improve}} |
Alerts editors to the poor quality of the article. |
| ||
{{Incomplete Coding}} |
Not all browsers are equal. Some users may place this on articles that seem fine, but are a mess in their browser. |
| ||
{{Intro}} |
Beckons editors to write an introduction to an article. |
| ||
{{Merge}} |
Proposes articles to be merged and asks for discussion on the matter. |
| ||
{{Move}} |
Use to recommend moving a page to a new title. |
| ||
{{Name}} |
Use at the first bolded instance of a conjectural article name. | [conjectural title] | ||
{{Neutrality}} |
Notifies editors of potential bias on a subject. | |||
{{News Archive}} |
A hybrid notice and navigation template for the News archives. | |||
{{Noclog}} |
Helps clear out the Wanted Pages. |
This template was placed here to prevent this article from clogging up the Wanted Pages. Once whichever template created the red-link is removed from the article, or text is entered into this talk page, please remove this template.
| ||
{{Noncanon}} |
Alerts readers to the canon status of the article section. | ----
Non-Canon Information! The following article or section is not Zelda canon, and shouldn't be taken as such. | ||
{{Nosig}} |
Identify talkspace posters that did not sign the post and enter their name and edit time. | —Preceding unsigned comment added by [[Special:Contributions/{{{1}}}|{{{1}}}]] (talk) {{{2}}} | ||
{{Nosrc}} |
A message to editors that uploaded images without sourcing them. | ==Image(s) uploaded==
Hi! Thank you for the new image(s) you recently uploaded; the wiki appreciates your contributions! We've introduced a policy of crediting the original source of any images used here, so we ask that you please take a moment to let everyone know where your images came from using the various templates here. For more information, see this explanation, and any questions you may have will be answered by the staff here. Thanks for your help! | ||
{{OT}} |
Informs talkspace posters that the discussion is not related to the wiki. | Template:OT | ||
{{Ocarina Song}} |
Inserts a link to an audioclip of the song being played. | ----
Listen to this song:{{{1}}} | ||
{{PolicyConst}} |
Informs visitors that a specific policy is under construction by the staff. | ----
Under Construction: The following policy page is currently under construction and it may not yet be in its final form. However, what is already on this page stands as policy until such time the page is updated to include revisions and changes in the policy as decided by staff. | ||
{{Protect}} |
Informs the staff of a page that may need to be protected. |
| ||
{{Protected}} |
Informs editors that a page has been temporarily protected . | {{subst:Protectd}} | ||
{{Split}} |
Used when suggesting an article be split. |
| ||
{{Sync}} |
Notifies editors of related articles that are out of sync with one another. |
| ||
{{Sectstub}} |
Stub tags specific sections of an article, rather than the entire article. | ----
| ||
{{Sources}} |
Informs editors that the page needs references. |
| ||
{{Spoiler}} |
Alerts viewers to an upcoming game spoiler in an article. | ----
Spoiler warning: The following contains key plot or ending details. | ||
{{Stub}} |
Tags an article as a stub. | ----
| ||
{{Theory}} |
Used to distinguish facts from theories in articles. | ----
Theory Warning: Be advised that the following article or section contains unconfirmed, fan-made theories or speculation. | ||
{{Uncon}} |
A canned message to send a user after reverting an edit by them. | ==Nonconstructive Edits==
Hello! The recent edit(s) you have made to the page, [[{{{1}}}]], do not appear to be constructive and have been reverted. Please refrain from adding nonsense or irrelevant content to Zelda Wiki. If you are not sure what content is acceptable, then see our Quality Standards. If you would like to experiment with editing, please use the Sandbox. If you feel that there has been a mistake and that you believe that your edits were valid, then report it on that page's respective talk page. | ||
{{Undated}} |
Similar to the nosig, but specifically for signed, but not dated talkspace posts. | —Preceding undated comment added on {{{1}}} | ||
{{Update}} |
Tags an article as being out of date. |
| ||
{{User}} |
Filler info on a user page that actually creeps into the wanted pages. | This text was placed here to eliminate the user's user page from clogging up Wanted Pages and/or to remove redlinks from talk pages. If you are the user, please feel free to let the public know a little more about you. | ||
{{Vandalism}} |
Notifies editors of a constantly vandalized page's protected status. |
| ||
{{Wikipedia}} |
Links to the Wikipedia article for input terms. | See also: Category:Wikipedia maintenance templates on | ||
{{YouLink}} |
Flags articles with out of universe speaking style. |
|