Difference between revisions of "BattleTechWiki:Project Templates"

m (Updating)
m (→‎Open Tasks: Updating)
Line 47: Line 47:
  
 
==Open Tasks==
 
==Open Tasks==
* Continuation of importing needed [[w:Wikipedia:Template index|Wikipedia templates]] and Modules
+
* Check the tracking category {{clc|Category:Pages with template loops}}
 +
* Check the tracking category {{clc|Category:Pages using duplicate arguments in template calls}}
 +
* Filling in the [[BattleTechWiki:Template index]], using the below as a guide
 +
* Continuation of importing needed [[w:Wikipedia:Template index|Wikipedia templates]] and Modules. (with the majority of those that are needed can be seen here [[Special:Wantedpages]])
 
* Doing once over of Template Documentation subpages
 
* Doing once over of Template Documentation subpages
 
**Making sure all links that need to be directed to Wikipedia are (using the 'w:' in their links).
 
**Making sure all links that need to be directed to Wikipedia are (using the 'w:' in their links).
Line 53: Line 56:
 
**Modify examples to match our use cases.
 
**Modify examples to match our use cases.
 
**Remove technical wordage that wouldn't be useful to our users.
 
**Remove technical wordage that wouldn't be useful to our users.
* Filling in the [[BattleTechWiki:Template index]], using the below as a guide
+
** {{tl|Infobox}}
 +
** {{tl|S-start}}
 +
** {{tl|External_media}}
 
* Taking a look at what we currently have here: {{cl|Documentation see also templates}}
 
* Taking a look at what we currently have here: {{cl|Documentation see also templates}}
 
** Reviewing, modifying and export any list templates in that category
 
** Reviewing, modifying and export any list templates in that category
 
** Checking if there are any other useful list templates needed by us on [[w:Category:Documentation see also templates|on Wikipedia's version of the same]]
 
** Checking if there are any other useful list templates needed by us on [[w:Category:Documentation see also templates|on Wikipedia's version of the same]]
 +
** {{tl|Quicktemplates}}
 +
** {{tl|Table cell templates}}
 +
** {{tl|Xt/see also}}
 
* Uploading of svg file images for use on templates
 
* Uploading of svg file images for use on templates
 
**It has been recommended that we use [https://icon-sets.iconify.design/mdi/ Material Design Icons]
 
**It has been recommended that we use [https://icon-sets.iconify.design/mdi/ Material Design Icons]
**Attempt to use the most "like" icon, referencing what Wikipedia is using for it
+
**Attempt to use the most "liked" icons, referencing what Wikipedia is using for it
* Create '''real''' pages of the categories listed here {{cl|System Related Pages}}
+
* Requested Template imports:
 +
** [[w:Template:Tree list]]
 +
* Requested Template changes
 +
** {{tl|Large category TOC}} As per request from [[User:Dmon]], increase the threshold of where this kicks in to something like 3000 as the simple starting letter is sufficient most of the time at 1200.
  
 
== Featured Content==  
 
== Featured Content==  

Revision as of 15:02, 16 October 2023

Project Templates
Project Information
Type Maintenance
Hexcode #B2BEB5
Senior Editor(s) Deadfire
Area(s) Templates & Automation
Discord Sarna Discord Community
Project Resources
Related Projects BattleTechWiki:Project Cleanup

Description

This WikiProject was formed to better manage the BattleTechWiki's myriad templates. This page contains their many useful suggestions, and it is hoped that this project will help to focus the efforts of other editors. If you would like to help, please inquire on the project's talk page and see the to-do list.

Goals

The main goal of this WikiProject is:

To help manage the template namespace of the BattleTechWiki.

Scope

  1. Conducting efforts to better organize, document and display all templates in the template namespace, including: navigation templates, infobox templates, inline templates, image copyright tags and much more.
  2. Solving specific templates issues, such as standardisation of content and categorization.
  3. Improving the general documentation on how to create and use templates, in addition to improving the documentation pages of the individual templates.
  4. Clean-up of the unused, unneeded and/or redundant templates.
  5. Providing help and guidance in creating, updating, correcting and testing templates.
  6. Improving template accessibility

Related WikiProjects

Related

Child projects

Participants

Please feel free to add yourself here, and to indicate any areas of particular interest.

Open Tasks

Featured Content

Internal-linking templates for the "See also" sections or at the bottom of template documentation

Most of the example boxes you see here are in Category:Documentation see also templates

Help templates

Images

[[File: | thumb | upright | right | alt= | caption ]]

Cite web

<ref>{{cite web
 |url= 
 |title= 
 |author= 
 |date= 
 |website= 
 |publisher= 
 |access-date= 
}}</ref>

Cite book (short)

<ref>{{cite book
 |last= 
 |first= 
 |author-link= 
 |title= 
 |publisher= 
 |series= 
 |year=  
 |doi= 
 |isbn= 
}}</ref>

Cite book (extended)

<ref>{{cite book
 |last1       = 
 |first1      = 
 |last2       = 
 |first2      = 
 |author-link = 
 |coauthors   = 
 |editor      = 
 |title       = 
 |trans-title = 
 |url         = 
 |access-date = 
 |edition     = 
 |series      = 
 |volume      = 
 |date        = 
 |year        = 
 |publisher   = 
 |location    = 
 |isbn        = 
 |doi         = 
 |page        = 
 |pages       = 
 |chapter     = 
}}</ref>

Metric conversions

Single input:
{{convert|original_value|original_unit|conversion_unit|abbr=on}}
Range of values:
{{convert|orig_val1|range|orig_val2|original_unit|conversion_unit|abbr=on}}
Examples:
{{convert|60|and|170|kg|lb|abbr=on}}
{{convert|18|°C|°F}}
{{convert|3.21|kg|lb}}

Variables

Code Effect
{{CURRENTWEEK}} 21
{{CURRENTDOW}} 4
{{CURRENTMONTH}} 05
{{CURRENTMONTHNAME}} May
{{CURRENTMONTHNAMEGEN}} May
{{CURRENTDAY}} 23
{{CURRENTDAYNAME}} Thursday
{{CURRENTYEAR}} 2024
{{CURRENTTIME}} 19:30
{{NUMBEROFARTICLES}} 55,574
{{NUMBEROFPAGES}} 134,760
{{NUMBEROFUSERS}} 13,832
{{PAGENAME}} Project Templates
{{NAMESPACE}} BattleTechWiki
{{REVISIONID}} 1006833
{{REVISIONUSER}} Deadfire
{{localurl:pagename}} /wiki/Pagename
{{localurl:Wikipedia:Sandbox|action=edit}} /wiki/index.php?title=Wikipedia:Sandbox&action=edit
{{fullurl:pagename}} https://www.sarna.net/wiki/Pagename
{{fullurl:pagename|query_string}} https://www.sarna.net/wiki/index.php?title=Pagename&query_string
{{SERVER}} https://www.sarna.net
{{ns:index}} e.g. '{{ns:1}}' fullname of namespace e.g 'Talk'
{{SITENAME}} BattleTechWiki

Recalling named reference

<ref name="NAMEOFREF" />

Quotes

{{blockquote |text= |sign= }}

Blockquotes

<blockquote>
<p>QUOTED PARAGRAPH</p>
<p>NAME, SOURCE, REFERENCE</p>
</blockquote>

About

(This page is about USE1. For other uses, see About (disambiguation).)
{{About|USE1}}
(This page is about USE1. For other uses, see PAGE2.)
{{About|USE1||PAGE2}}
(This page is about USE1. For USE2, see PAGE2.)
{{About|USE1|USE2|PAGE2}}
(This page is about USE1. For USE2, see PAGE2. For USE3, see PAGE3. For USE4, see PAGE4. For USE5, see PAGE5.)
{{About|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}

Tables (borderless)

{|
|-
! scope="col" |COLUMN1
! scope="col" |COLUMN2
|-
|ROW1
|ROW1/COL2
|-
|ROW2
|ROW2/COL2
|}

Tables (wikitable)

{| class="wikitable"
|-
! scope="col" |COLUMN1
! scope="col" |COLUMN2
|-
|ROW1
|ROW1/COL2
|-
|ROW2
|ROW2/COL2
|}

Collapsible tables (Default: collapsed)

{| class="wikitable mw-collapsible mw-collapsed" style="text-align: left;margin:0px;"
|- 
! style="width:20em;" |COLUMN1
! style="width:20em;" |COLUMN2
|- 
|ROW1
|ROW1/COL2
|-
|ROW2
|ROW2/COL2
|-
|}

Columns

{{col-begin|width=100%}}
{{col-break|width=}} 
{{col-end}}

Interwiki links

Wiki Shortcut
Wikimedia Commons [[commons:]]
Wikipedia [[w:]]
Wiktionary [[wikt:]]
Wikibooks [[b:]]
Wikisource [[s:]]
Wikispecies [[species:]]
Metawiki [[m:]]
MediaWiki [[mw:]]

Special Pages

Templates

Others to check

Extensions

  • Work with the following Mediawiki extensions:
    • Extension:TemplateStyles (an extension that allows to specify that a stylesheet should be loaded from a wiki page, allowing the template to have custom styles without having to modify the site's main CSS file).
    • Extension:TemplateData (an extension that provides the information about templates).
    • Extension:TemplateWizard (an extension that adds a popup dialog box for adding template code to wikitext).
    • Extension:WikiEditor (an extension that provides the editing toolbar).
    • Extension: Page Forms (an extension allows you to have forms for creating and editing pages on your wiki, as well as for querying data, all without any programming).