User:Ningauble/Sandbox
This is a user sandbox page.
This is a temporary staging area for drafts, tests, and notes that may or may not ever be used in an actual Wikiquote page. The contents of this page are unfinished, unverified, untested, unsupported, uninteresting, and are quite possibly complete and utter nonsense. Do not believe anything you see here. |
Templates that support category suppression
edit- See Category:Templates that support category suppression
- See also w:User:Willscrlt/commons/Category suppression in templates (en)
some boilerplate
edit- Definition
- Many templates automatically put the page where they are used into a category. Category suppression allows an example of such a template to be placed on a page without automatically adding the page to any categories.
- In general documentation
- To display the template on a page without adding the page to categories, just add
|categories=no
as the last parameter for the template and (assuming the template supports category suppression correctly) the template will not add the page to any categories. For example, the {{Delete}} template (which has no other parameters) can be displayed by putting{{Delete|categories=no}}
on the page. - In documentation of a template
- Using this template on a page automatically adds the page to Category:CATNAME. To display a sample of the template without adding the page to the category, use
{{TEMPNAME|categories=no}}
.
Message boxen
edit1
edit2
editLorem ipsum Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |
3
editExample Title Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. |
4
edit5
edit'
|
6
edit7
editTitle Important:[citation needed] Nothing to see here. |
Collapsible sections
editThese don't seem to work the same here as at Wikipedia (where they work at all), which is most likely due to CSS and JS differences. Some bits seem to work well enough to be somewhat useful.
Collapsible wikitable
editHeader |
---|
Body. (But I wanted the Show/Hide button on the right. Seems to be a CSS difference.) |
Collapsible NavFrame
editThis puts the button on the right at Wikipedia. Does it work here?
Evidently not, though it is used regularly at Wikipedia.
Meta style
editBased on m:Template:Hidden, renders oddly, as with "Collapsible wikitable" it fails to put the button on the right.
header
|
---|
content |
Getting fancy (wikitable)
editWhite version:
Normal cell in the header row, pushes button to the right | ||
Hidden cell in body of the table, which almost, but does not quite make the full page width available for content. It seems to come pretty close, but results are probably highly browser-dependant. |
Colorbar version:
Normal cell in the header row, pushes button to the right | ||
Hidden cell in body of the table, which almost, but does not quite make the full page width available for content. It seems to come pretty close, but results are probably highly browser-dependant. |
ITN banner
edit- unaligned de-fault
|
- nesting seems to screw up the overlay position
|
- centering does not itself cause the problem
Wikiquote In the News |
- nesting in a plain div rather than a table breaks centering
- @#$%& Wikimarkup; @#$%& Microsoft browser!