Template:Diagonal split header/doc

From Official Factorio Wiki
< Template:Diagonal split header
Revision as of 05:46, 8 December 2024 by Raw Salad (talk | contribs) (Created page with "<code><nowiki>{{Diagonal split header|Bottom|</nowiki>Top|color-1=#AAA|color-2=Blue}}</code> * First parameter: The content to put in the bottom left of the diagonal cell. (Optional) * bottom right parameter: The content to put in the bottom left of the diagonal cell. (Optional) * Second parameter: The content to put in the bottom left of the diagonal cell. Serves as an alternative alias for parameter 1 to help ease of writing wikitext. (Optional) * top right parameter:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{Diagonal split header|Bottom|Top|color-1=#AAA|color-2=Blue}}

  • First parameter: The content to put in the bottom left of the diagonal cell. (Optional)
  • bottom right parameter: The content to put in the bottom left of the diagonal cell. (Optional)
  • Second parameter: The content to put in the bottom left of the diagonal cell. Serves as an alternative alias for parameter 1 to help ease of writing wikitext. (Optional)
  • top right parameter: The content to put in the bottom left of the diagonal cell. Serves as an alternative alias for parameter 1 to help ease of writing wikitext. (Optional)
  • color 1 parameter: A HTML/CSS color code. (Optional, default: #424242)
  • color 2 parameter: A HTML/CSS color code. (Optional, default: #424242)

Some usage examples:

  • {{Diagonal split header|Input|Output|color-1=ff00ff|color-2=blue}} →
Output
Input
  • {{Diagonal split header|bottom-left=Hello|color-2=#EEE3}} →
 
Hello