Difference between revisions of "Hexadecimal numbers/carry"

From Maths
Jump to: navigation, search
m (Adding room for the "cell" sub-page template with styles. And a note about what to do.)
m
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
! Table header
 
! Table header
 
|-</noinclude>
 
|-</noinclude>
{{!}} style="background-color:#1AB6E8;{{#if:{{{border|}}}|{{:{{BASEPAGENAME}}/cell/styles/border/{{{border|}}}|}}}}" {{!}} {{{1|''(empty)''}}}<noinclude>
+
{{!}} style="{{echo|1=background-color:{{:{{BASEPAGENAME}}/cell/styles/colour/carry}};}}{{#if:{{{border|}}}|{{:{{BASEPAGENAME}}/cell/styles/border/{{{border|}}}}}|}}" {{!}} {{{1|''(empty)''}}}<noinclude>
 
|}
 
|}
  
 
==Refactoring==
 
==Refactoring==
* I plan to make this into something based off the BASENAME/cell page with an extra style for the carry effect, passing through any other styles as needed. All that will be under the cell page, Styles will be under {{C|cell/styles/[TYPE]/....}} where {{C|[TYPE]}} is "border" for example. Or "colour" then the options are subpages of that.
+
* I plan to make this into something based off the BASENAME/cell page with an extra style for the carry effect, passing through any other styles as needed. All that will be under the cell page, Styles will be under {{C|cell/styles/[TYPE]/....}} where {{C|[TYPE]}} is "border" for example. Or "colour" then the options are subpages of that. (just prior to sig time: ) [[User:Alec|Alec]] ([[User talk:Alec|talk]]) 18:33, 23 February 2019 (UTC)
 +
==Problems==
 +
* The {{C|#}} at the start of colour hexadecimal was making it look like a list to mediawiki, using a nowiki single-tag (one tag, not an open/close pair) [[User:Alec|Alec]] ([[User talk:Alec|talk]]) 18:33, 23 February 2019 (UTC)
 
</noinclude>
 
</noinclude>

Latest revision as of 18:33, 23 February 2019

Table header
(empty)

Refactoring

  • I plan to make this into something based off the BASENAME/cell page with an extra style for the carry effect, passing through any other styles as needed. All that will be under the cell page, Styles will be under cell/styles/[TYPE]/.... where [TYPE] is "border" for example. Or "colour" then the options are subpages of that. (just prior to sig time: ) Alec (talk) 18:33, 23 February 2019 (UTC)

Problems

  • The # at the start of colour hexadecimal was making it look like a list to mediawiki, using a nowiki single-tag (one tag, not an open/close pair) Alec (talk) 18:33, 23 February 2019 (UTC)