Jump to content

Template:Quote Box: Difference between revisions

From Abidan Archive Wiki
imported>Maadrast
No edit summary
imported>Maadrast
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 33: Line 33:
{
{
"params": {
"params": {
"1": {},
"2": {},
"3": {},
"align": {
"align": {
"default": "left"
"default": "left",
"description": " Alignment of the quote box on the page—left / right / center / none. Defaults to left alignment. Using align=none will remove word wrapping."
},
"class": {
"description": "Advanced Usage only, Feel Free to ignore"
},
"width": {
"description": "The width of the quote box. Defaults to the width of the quote included, unless |align=center where the width will default to 100%."
},
"border": {
"description": "The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width."
},
"fontsize": {
"description": "The fontsize of the quote box text. Defaults to 88%."
},
"bgcolor": {
"description": "The RGB background color of the box. Defaults to #F9F9F9 (light gray)."
},
"style": {
"description": "A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters."
},
"title": {
"description": "Optional title to appear at the top of the quote box.",
"suggested": true
},
"title_bg": {
"description": "The RGB background color of the title. Defaults to #F9F9F9 (light gray)."
},
"title_fnt": {
"description": "The title font color. Defaults to black."
},
"tstyle": {
"description": "A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters."
},
"quoted": {
"description": "If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously;"
},
"qalign": {
"description": "Alignment of the quote element—left / right / center. Defaults to left."
},
"qstyle": {
"description": "A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters."
},
},
"class": {},
"width": {},
"border": {},
"fontsize": {},
"bgcolor": {},
"style": {},
"title": {},
"tclass": {},
"title_bg": {},
"title_fnt": {},
"tstyle": {},
"quoted": {},
"qalign": {},
"halign": {},
"qclass": {},
"qstyle": {},
"text": {},
"content": {},
"quotetext": {},
"quotetext": {},
"quote": {
"quote": {
"example": "\"Quote goes here\"",
"example": "\"Quote goes here\"",
"required": true
"required": true,
"description": "The quote or other text to be displayed in the box."
},
"author": {
"description": "Optional name of the author. A <ref>...</ref> reference citation can be added at the end."
},
},
"author": {},
"source": {
"source": {
"example": "-Wintersteel",
"example": "-Wintersteel",
"required": true
"required": true,
"description": "Optional source of the quote (\"Quoted\" or Italic work title, and other publication data). A <ref>...</ref> reference citation can be added at the end."
},
"salign": {
"description": "Alignment of the source element—left / right / center. Defaults to the value of qalign."
},
},
"salign": {},
"sstyle": {
"sstyle": {}
"description": " A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters."
}
}
}
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 22:18, 6 February 2021

Template:Documentation<templatedata> { "params": { "align": { "default": "left", "description": " Alignment of the quote box on the page—left / right / center / none. Defaults to left alignment. Using align=none will remove word wrapping." }, "class": { "description": "Advanced Usage only, Feel Free to ignore" }, "width": { "description": "The width of the quote box. Defaults to the width of the quote included, unless |align=center where the width will default to 100%." }, "border": { "description": "The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width." }, "fontsize": { "description": "The fontsize of the quote box text. Defaults to 88%." }, "bgcolor": { "description": "The RGB background color of the box. Defaults to #F9F9F9 (light gray)." }, "style": { "description": "A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters." }, "title": { "description": "Optional title to appear at the top of the quote box.", "suggested": true }, "title_bg": { "description": "The RGB background color of the title. Defaults to #F9F9F9 (light gray)." }, "title_fnt": { "description": "The title font color. Defaults to black." }, "tstyle": { "description": "A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters." }, "quoted": { "description": "If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously;" }, "qalign": { "description": "Alignment of the quote element—left / right / center. Defaults to left." }, "qstyle": { "description": "A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters." }, "quotetext": {}, "quote": { "example": "\"Quote goes here\"", "required": true, "description": "The quote or other text to be displayed in the box." }, "author": { "description": "Optional name of the author. A [1] reference citation can be added at the end." }, "source": { "example": "-Wintersteel", "required": true, "description": "Optional source of the quote (\"Quoted\" or Italic work title, and other publication data). A [2] reference citation can be added at the end." }, "salign": { "description": "Alignment of the source element—left / right / center. Defaults to the value of qalign." }, "sstyle": { "description": " A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters." } } } </templatedata>

  1. ↑ ...
  2. ↑ ...