Ganaram inukshuk (talk | contribs)
Ganaram inukshuk (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 405: Line 405:
|-
|-
! colspan="4" |New templates after this line follow new (personal) coding conventions, outlined in v2 of my style guide. Features:
! colspan="4" |New templates after this line follow new (personal) coding conventions, outlined in v2 of my style guide. Features:
Use of snake_case for ALL param names, wherever possible; previous templates go through template name normalization to maintain backwards-compatibility
Use of snake_case for ALL param names; previous templates go through template name normalization to maintain backwards-compatibility (automated for lua-based templates)
For lua-based templates, no params will ever be defined at the template level; params are defined at the module level
 
For lua-based templates, no params will ever be defined at the template level, instead defined at the module level
|-
|-
!Modules and templates
!Modules and templates
Line 424: Line 425:


These templates/changes replace [[Template:Lua]] as used on module docpaegs.
These templates/changes replace [[Template:Lua]] as used on module docpaegs.
| rowspan="3" |
| rowspan="3" |Detect data being used from a module, not just functions.
Arrange functions in a list rather than in a table.
|-
|-
|[[Module:Template introspection|<s>Module:Template introspection</s>]]
|[[Module:Template introspection|<s>Module:Template introspection</s>]]
Line 436: Line 438:
[[Template:Dochead]]
[[Template:Dochead]]
|Yes (module only)
|Yes (module only)
|Proposed module is a rewrite of Template:Dochead that makes the template able to:
|Module is a rewrite of Template:Dochead that makes the template able to:


* Autodetect modules with corresponding templates, with options for overrides
* Autodetect modules with corresponding templates, with options for overrides
Line 442: Line 444:
* Display which functions are invoked and from which modules.
* Display which functions are invoked and from which modules.
These templates/changes replace [[Template:Lua]] as used on template docpages.
These templates/changes replace [[Template:Lua]] as used on template docpages.
|
|-
|All deprecation templates except [[Template:Deprecated parameters]]
|No
|Minor changes to inform editors if they're used in the wrong namespaces.
|
|
|-
|-
Line 455: Line 462:
|
|
|-
|-
|All deprecation templates
|Template:Template quick copy (shortcut name: tqc)
|
|
|Proposal to have these templates detect whether they're in the wrong namespaces:
|A proposed module-template pair used to automatically format a template's code for easy copy-pasting. Subst-template.
 
* Template:Deprecated: content namespaces only (main, file, category, maybe a few others???)
* Template:Deprecated template: templates only
|
|
|-
|-
Line 466: Line 470:
|
|
|See Module:Keyboard vis.
|See Module:Keyboard vis.
Module does not have a corresponding template. For module, add scaling options now that visualization is image-based instead of using box-drawing characters (low-priority).
|
|
|-
|-
Line 499: Line 504:
=== Wikiprojects and style guides ===
=== Wikiprojects and style guides ===
* [[Xenharmonic Wiki:WikiProject Mospage|Project Mospage]] and [[Xenharmonic Wiki:MOS page style guide|mospage style guide]]
* [[Xenharmonic Wiki:WikiProject Mospage|Project Mospage]] and [[Xenharmonic Wiki:MOS page style guide|mospage style guide]]
* [[User:Ganaram inukshuk/Docpage style guide|Docpage style guide]] (not worthy of a wikiproject since most docpages have been written alraedy)
* [[User:Ganaram inukshuk/Docpage style guide|Docpage style guide]] (not worthy of a wikiproject since most docpages have been written alraedy; this would be a guide on how to format and arrange what goes on a docpage)


=== Project mbox-icon ===
=== Project mbox-icon ===