Jump to content

User:Mr rnddude/Userboxes

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mr rnddude (talk | contribs) at 14:35, 14 April 2017 (Templates: Documentation for modules and templates). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
User:Mr rnddude User talk:Mr rnddude User:Mr rnddude/Userboxes User:Mr rnddude/Sources User:Mr rnddude/Research User:Mr rnddude/Articles Special:Prefixindex/User:Mr rnddude User:Mr rnddude/Common.js Special:Contributions/Mr rnddude
User Page
Talk Page
Userboxes
Sources
Research
Articles
Site Map
Common.js
Contributions

Templates

NHL Pre-season and Season Templates

Refer to:

Created
  1. Template:Dailymotion
  2. Template:Dailymotion/doc

Module and Template Coding in Progress

Template:NHL game log start

{{Game log start | style = {{#if:{{{bgcolor|}}}|background-color: {{{bgcolor}}}; border-top-color:{{{btcolor}}}|{{NHL color cell|{{{1}}}}}; border-bottom-color:{{{bbcolor}}}|{{NHL color cell2|{{{1}}}}}}} | title = <!-- -->{{#switch:yes |{{{pre-season}}}={{#expr:{{{end_year|2012}}} - 1}} Pre-season |{{{playoffs}}}={{{end_year|2013}}} Stanley Cup playoffs |{{#ifeq:{{{end_year}}}|2000|1999–2000|{{#expr:{{{end_year|2013}}}-1}}–{{padleft:{{#expr:{{{end_year|2013}}} mod 100}}|2|0}}}} }} game log<!-- -->{{#if:{{{home_wins|}}}|<br>Total: {{#expr:{{{home_wins|0}}} + {{{road_wins|0}}}}}–{{#expr:{{{home_losses|0}}} + {{{road_losses|0}}}}} (Home: {{{home_wins|0}}}–{{{home_losses|0}}}; Road: {{{road_wins|0}}}–{{{road_losses|0}}})}}<!-- -->{{#if:{{{record|}}}|<br>{{{record}}}}} }}<noinclude> {{end}} {{documentation}} </noinclude>


  • Once the above is encoded I will make the template go live. I will need it to be live so that I can test it against a vital, for the purpose of the template, module.

Userboxes

History
Code Result
{{User:Mr rnddude/Userboxes/AncientGreece}} User:Mr rnddude/Userboxes/AncientGreece Usage
{{User:Mr rnddude/Userboxes/AncientMilitaryHistory}} User:Mr rnddude/Userboxes/AncientMilitaryHistory Usage