Template:WB-Trainz-style

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

"padding:.5em; border:2px black solid; background:#f9f9a9; ;;;"

This template is HTML style boilerplate
It's purpose is to give a uniform appearance to annotated Category:Trainz header blocks of text noting any restrictions generally applying to such images for the Trainz Wikibooks Projects, for their are educational use restrictions on some categories of images.
Actual code
"padding:{{{P|.5em}}}; border:{{{B|2px black solid}}}; background:{{{BG|#f9f9a9}}}; {{{1|}}};{{{2|}}};{{{3|}}};{{{4|}}}"
Optional parameters
  • The template takes alternative styling in placeholder parameters: | 1=, | 2=,..., | 4= etcetera. and in addition
  • the named parameters B (border), BG (background), and P (padding), as overrides.