Template:Uneven-frame-note/doc: Difference between revisions

From Pizza Tower Wiki
Content added Content deleted
m (added an example and a link to the article tags for reference)
m (link fix)
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
* <code>type</code> - template's name (in lower case); for example <code>type=stub</code>
* <code>type</code> - template's name (in lower case); for example <code>type=stub</code>
* <code>style</code> - additional styling for main container
* <code>style</code> - additional styling for main container
* <code>color</code> - background color
* <code>color</code> - background color (not required)
* In <code>content</code> actual note/tag template must be placed, preferably as HTML table
* In <code>content</code> actual note/tag template must be placed, preferably as HTML table


See [https://pizzatower.miraheze.org/w/Category:Article_tags Article tags] for a list of types.
See [[:Category:Article_tags|Article tags]] for a list of types.


Result:
Result:

Latest revision as of 17:22, 1 January 2024

Description
This template creates an "uneven border" (frame) for article tag templates.
Template also uses Extension:TemplateStyles; for styles see: Template:Uneven-frame-note/styles.css.
Syntax
Code:
{{uneven-frame-note
|type =
|style =
|color =
|content =
...
}}
  • type - template's name (in lower case); for example type=stub
  • style - additional styling for main container
  • color - background color (not required)
  • In content actual note/tag template must be placed, preferably as HTML table

See Article tags for a list of types.

Result:

This is an uneven frame note with the type "WIP."