float= The Red Rook (cover).png

Parallel Visions: City of Angels City of Demons ebook and trade paperback available on Amazon (or here).
The question of whether Vance was dead or not became more than academic when he found himself in a bathtub up to his chin in ice water like some forgotten cocktail garnish, a demonic woman standing over him, and no memory of how he got there.
Read free chapters of Parallel Visions: City of Angels City of Demons here
The Red Rook, sequel to Dispensing Justice and the second novel of Nova Genesis World is now available for Kindle or as a paperback at Amazon.
Read free chapters of Dispensing Justice here (or get it here).
Read free chapters of The Red Rook here (or get it here). -- Fritz Freiheit

Dispensing Justice (cover).png 20th Annual Writer's Digest Self-Published Book Awards - Honorable Mention.png
Welcome to 2021! Let's get some writing done.
Track your writing progress in 2021 using this free spreadsheet.


From FritzWiki
Jump to: navigation, search

Not included[edit]

Template:DocLayout (e)

Tags: Template, Div Template, Layout Template, HTML Template, XHTML Template
Layout Template:
Version Transcluded:



This template is a "wrapper", making it faster and easier to use the [X]HTML <div>...</div> element, for those who prefer to write in wikicode than bare HTML tags. It supports all of the HTML element's features that would be useful on Wikipedia and accepts them as parameters. It is also used (and was initially created) to work around problems in templates and ParserFunctions caused by presence of XHTML or lack of WikiMarkup in particular code instances.

A div in Web coding terms is a generic block element of content, such as set of paragraphs, a section of a page with a frame around it, a right-floating sidebar, or some other discrete "chunk" of content that can be though of an independent object. It does not act as an inline span of text like, say, a phrase that needs to be in a green font. Rather it is a container for inline content. A div does not correspond to any particular predetermined thing like a paragraph or column, but can be whatever kind of thing is needed. It is thus general, not semantic markup.


  • |1= or |text=   the content of the div; this parameter usually should be named, because if it is not, the template will break if the div contains an equals sign (=), due to limitations of the MediaWiki software; it is difficult to predict what content other editors might insert into "your" div in the future (for example, a very large number of URLs contain "=" characters, so any inserted source citation could break a div without the | explicit name on the first parameter.
  • |style=   apply arbitrary CSS style directives to the content or characteristics of the div; this is by far the most common usage, especially for aspects of the div itself as a container, such as padding, margin, border, background color, width, etc. Do not use quotes; for example |style= color:red; background:green;. For backward compatibility with the old {{DIV}} template the deprecated parameter |bodystyle= will also be passed through as CSS styling.
  • |title=   specify a pop-up "tooltip" that appears when the mouse hovers over the div (in most browsers); the second most common use
  • |class=   assign one or more CSS classes to the span
  • |id=   assign an HTML ID to the element, e.g. for #linking, CSS styling at a higher level, and other purposes; it must be unique on the page, and begin with an alphabetic letter

See also[edit]


style / bodystyle
1 or text



Template:LayoutTDoc (e)