Lets RP Wiki:Templates: Difference between revisions

Template usage on the Star Citizen Wiki
No edit summary
Tag: Manual revert
 
(12 intermediate revisions by the same user not shown)
Line 97: Line 97:
|Requesting a page to be deleted
|Requesting a page to be deleted
|Top
|Top
|-
|-Disambiguation
|{{tl|In use}}
|{{tl|In use}}
|Page is undergoing a major edit
|Page is undergoing a major edit
|Top
|-
|{{tl|Disambiguation}}
|Page is a disambiguation page
|Top
|-
|{{tl|Spoiler}}
|Page contains spoilers
|Top
|Top
|}
|}
Line 156: Line 164:
|{{tl|Navplate wiki}}
|{{tl|Navplate wiki}}
|Generate a navplate of core wiki pages.
|Generate a navplate of core wiki pages.
|After the references section in a wiki namespace article.
|-
|{{tl|Navplate Character}}
|Generate a navplate for characters and related articles.
|After the references section in a wiki namespace article.
|-
|{{tl|Navplate Faction}}
|Generate a navplate for factions and related articles.
|After the references section in a wiki namespace article.
|After the references section in a wiki namespace article.
|-
|-
Line 166: Line 182:
!Use
!Use
!Where to put it
!Where to put it
|-
|{{tl|Infobox/Business}}
|An infobox with common elements used by Businesses.
|Lead Section.
|-
|-
|{{tl|Infobox/Character}}
|{{tl|Infobox/Character}}
Line 177: Line 189:
|{{tl|Infobox/Faction}}
|{{tl|Infobox/Faction}}
|An infobox with common elements used by Factions and Gangs.
|An infobox with common elements used by Factions and Gangs.
|Lead Section.
|-
|{{tl|Infobox/Location}}
|An infobox with common elements used by Locations.
|Lead Section.
|-
|{{tl|Infobox/Event}}
|An infobox with common elements used by Events.
|Lead Section.
|Lead Section.
|-
|-
Line 191: Line 211:
!Use
!Use
!Where to put it
!Where to put it
|-
|{{tl|NotableCharacterInfo}}
|A QOL container template for all the Notable Information templates.
|Under <code><nowiki>== Notable Information ==</nowiki></code> heading of a Character article.
|-
|{{tl|NotableCharacterInfo/Career/EmploymentRows}}
|A row formatted for the Employment Rows of the template.
|As part of <code><nowiki>EmploymentRows</nowiki></code> section of {{tl|NotableCharacterInfo}}.
|-
|{{tl|NotableCharacterInfo/Career/MembershipRows}}
|A row formatted for the Membership Rows of the template.
|As part of <code><nowiki>MembershipRows</nowiki></code> section of {{tl|NotableCharacterInfo}}.
|-
|-
|{{tl|CriminalRecord}}
|{{tl|CriminalRecord}}
|A template for adding information about a character's criminal profile to their page.
|A template for adding information about a character's criminal profile to their page. Included in the {{tl|NotableCharacterInfo}} template.
|Under <code><nowiki>== Notable Information ==</nowiki></code> heading of a Character article.
|Under <code><nowiki>== Notable Information ==</nowiki></code> heading of a Character article.
|-
|-
Line 199: Line 231:
|A template used inside {{tl|CriminalRecord}} for adding rows to the incident section of the template.
|A template used inside {{tl|CriminalRecord}} for adding rows to the incident section of the template.
|Inside the Incident variable of the parent template.
|Inside the Incident variable of the parent template.
|-
|{{tl|Vehicle Asset}}
|Used for adding vehicle assets information to a character's profile.
|Inside the Assets \ Vehicle tab of the Notable Information section of a profile.
|-
|{{tl|Property Asset}}
|Used for adding property assets information to a character's profile.
|Inside the Assets \ Properties tab of the Notable Information section of a profile.
|-
|-
|}
|}

Latest revision as of 01:17, 13 February 2023


Templates are used to duplicate the same content across more than one page, reducing maintenance and work needed on creating and updating pages. Changing a template in one place will immediately apply the changes to all the pages that use it.

This page lists templates of this wiki. Due to the amount of traffic and the game being controversial, template creation requires additional permission on top of registered and verified users. For more information on templates, check out Wikipedia's template page or Wikimedia's template page. If you are interested in:

Creating a template
Create a prototype on your user page or/and propose your idea in the discussion page.
Requesting a template
Propose your request in the discussion page.
Improving a template
Propose your suggestions in the relevant template talk page or this discussion page.


A list of all Let's RP Wiki templates is available at Special:AllPages/Template:. Unused templates can be found at Special:Unusedtemplates.

To insert a template into a page, type {{TemplateName}} (this is known as a tag) somewhere on the page, whether it be at the top or at the bottom or in a certain section. Every page with that tag in it will display the template text. TemplateName is the name after the colon symbol, e.g. the TemplateName for Template:In use is In use, so typing {{In use}} will add that tag to a page.

Below are a summary of most templates on the wiki. Please refer to the relevant documentation page for more details. Note that some templates are listed by their shorthand, and depreciated and fallback templates are not included in the list below.

Article namespace

Citation

Use these templates to reference information.

Template Use Where to put it
{{Citation needed}} Mark a statement as needing citation. Inline after the statement
{{Reflist}} Show the list of reference Under the reference header == References ==

Related articles

Use these templates to link relevant articles of the page or section. They must be at the very top of the page or section. Nothing should be above them (except short description).

More pages on the same topic

Template Use Where to put it
{{Main}} Section is a summary or snippet of another article Under section header
{{See also}} Section has a related article Under section header

Other uses of the same title

Template Use Where to put it
{{About}} Noting other uses for a page or section Top or under section header
{{For}} Noting other uses for a section or page, and not to display This page is about... Top or under section header

Maintenance

Use these templates to mark page or section for maintenance. Some of these templates mark pages in lists that can be founded at the top of the recent changes page under other review tools.

Template Use Where to put it
{{Cleanup}} Page or section needs attention for various reasons Top or under section header
{{Review}} Page needs review in copy editing Top
{{Outdated}} Page or section contains outdated information more than two years old Top or under section header
{{Stub}} Page only contains basic information and there is unknown vital information to add Bottom
{{Delete}} Requesting a page to be deleted Top
{{In use}} Page is undergoing a major edit Top
{{Disambiguation}} Page is a disambiguation page Top
{{Spoiler}} Page contains spoilers Top

Content

Use inside the article and with a new line.

Template Use Where to put it
{{Quote}} Create a blockquote Wherever needed
{{Note}} Post editorial notes in articles Before the content that the note refers to
{{Gallery}} Include a gallery section in the page The end of the article but before see also and references

Layout

Template Use
{{Nbsp}} Intentional non-breaking spaces
{{=}} Literal "=" to avoid interpretation as syntax
{{Nowrap}} Keeps text on a single line
{{Em}} Put strong emphasis on the text
{{Ubl}} Create unbulleted lists
{{Blist}} Create bulleted lists when wikitext does not work

Navigation

WIP. Generate navigation blocks.

Template Use Where to put it
{{Navplate wiki}} Generate a navplate of core wiki pages. After the references section in a wiki namespace article.
{{Navplate Character}} Generate a navplate for characters and related articles. After the references section in a wiki namespace article.
{{Navplate Faction}} Generate a navplate for factions and related articles. After the references section in a wiki namespace article.

Infoboxes

WIP

Template Use Where to put it
{{Infobox/Character}} An infobox with common elements used by Characters. Lead Section.
{{Infobox/Faction}} An infobox with common elements used by Factions and Gangs. Lead Section.
{{Infobox/Location}} An infobox with common elements used by Locations. Lead Section.
{{Infobox/Event}} An infobox with common elements used by Events. Lead Section.
{{Infobox/FormattedLink}} A specially formatted template for use within Infoboxes, a link followed by a second line with a descriptor or definition. Within an Infobox (See the Wizard for guidance on where this can be used safely.

Data tables

WIP

Template Use Where to put it
{{NotableCharacterInfo}} A QOL container template for all the Notable Information templates. Under == Notable Information == heading of a Character article.
{{NotableCharacterInfo/Career/EmploymentRows}} A row formatted for the Employment Rows of the template. As part of EmploymentRows section of {{NotableCharacterInfo}}.
{{NotableCharacterInfo/Career/MembershipRows}} A row formatted for the Membership Rows of the template. As part of MembershipRows section of {{NotableCharacterInfo}}.
{{CriminalRecord}} A template for adding information about a character's criminal profile to their page. Included in the {{NotableCharacterInfo}} template. Under == Notable Information == heading of a Character article.
{{CriminalRecord/row}} A template used inside {{CriminalRecord}} for adding rows to the incident section of the template. Inside the Incident variable of the parent template.
{{Vehicle Asset}} Used for adding vehicle assets information to a character's profile. Inside the Assets \ Vehicle tab of the Notable Information section of a profile.
{{Property Asset}} Used for adding property assets information to a character's profile. Inside the Assets \ Properties tab of the Notable Information section of a profile.

Template and Module namespace

WIP

Template Use Where to put it
{{/Doc}} Automatically creates/transcludes a child subpage for a template. Inside <noinclude> tags at the bottom of template/main.
{{Documentation}} Adds formatting to the /doc child page of a template. Only to be used inside the /doc sub-page, placed at the very top of the page.

File namespace

WIP

Template Use Where to put it

Licensing

A list of License Templates for marking the license status of a piece of media. These are usually automatically added to a piece of media when it is uploaded to the wiki.

Template Use Where to put it
{{License_-_CC-by-sa-2.5}} For media covered by Creative Commons CC-by-sa-2.5 Under the reference header == Licensing == of a media page.
{{License - Fair Use}} For media covered by Fair Use Under the reference header == Licensing == of a media page.
{{License - Free License}} For media covered by a free license like GFDL or a different Creative Commons than CC-by-SA Under the reference header == Licensing == of a media page.
{{License - GTA Screenshot}} For screenshots taken from within GTA V, with or without further editing Under the reference header == Licensing == of a media page.
{{License - Own Image}} For media made by the uploader Under the reference header == Licensing == of a media page.
{{License - PD}} For media under the public domain Under the reference header == Licensing == of a media page.
{{License - Wikimedia}} For media from another wikimedia project Under the reference header == Licensing == of a media page.
{{License - Unknown_copyright}} For media whos copyright status is not currently known Under the reference header == Licensing == of a media page.


Note: A portion of the text above originated from the RuneScape Wiki and SC Tools wiki under CC BY-NC-SA 3.0 license.