m (Protected "Lets RP Wiki:Templates" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
|||
Line 177: | Line 177: | ||
|{{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. | |Lead Section. | ||
|- | |- |
Revision as of 14:57, 30 January 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:
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 |
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 |
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. |
Infoboxes
WIP
Template | Use | Where to put it |
---|---|---|
{{Infobox/Business}}
|
An infobox with common elements used by Businesses. | Lead Section. |
{{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/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 |
---|---|---|
{{CriminalRecord}}
|
A template for adding information about a character's criminal profile to their page. | 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.
|