Template:Fl: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Fabartus (talk | contribs)
genesis
 
Fabartus (talk | contribs)
fmt
 
Line 1: Line 1:
<noinclude>
<noinclude>
{{Doc-page-head}}
;This typing aid template (Mnemonically '''F'''orce '''Line''') overrides Wikimarkup language's rendering to force a blank line  
;This typing aid template (Mnemonically '''F'''orce '''Line''') overrides Wikimarkup language's rendering to force a blank line  
:In concept, originally just inserting the below (two spaces inside a {{wp|XHTML}} div block:
:In concept, originally just inserting the below (two spaces inside a {{wp|HTML|HTML\XHTML}} div block:
  <nowiki><div>&amp;nbsp; </div></nowiki>
  <nowiki><div>&amp;nbsp; </div></nowiki>
: It has been further generalized to take a default parameter <nowiki>{{{1}}}</nowiki> and then progressively either or both a text and  style named parameter 'style' using the forms:
: It has been further generalized to take a default parameter <nowiki>{{{1}}}</nowiki> and then progressively either or both a text and  style named parameter 'style' using the forms:
Line 15: Line 16:
[[Category:Formatting templates|{{PAGENAME}}]]
[[Category:Formatting templates|{{PAGENAME}}]]
[[Category:Typing-aid templates|{{PAGENAME}}]]
[[Category:Typing-aid templates|{{PAGENAME}}]]
{{Doc-page-end}}
</noinclude><includeonly><nowiki><div {{{style|}}}>{{{text|{{{1|&amp;nbsp; }}}}}}</nowiki></includeonly>
</noinclude><includeonly><nowiki><div {{{style|}}}>{{{text|{{{1|&amp;nbsp; }}}}}}</nowiki></includeonly>

Latest revision as of 08:20, 17 June 2013

This typing aid template (Mnemonically Force Line) overrides Wikimarkup language's rendering to force a blank line
In concept, originally just inserting the below (two spaces inside a HTML\XHTML div block:
<div>&nbsp; </div>
It has been further generalized to take a default parameter {{{1}}} and then progressively either or both a text and style named parameter 'style' using the forms:
<div>{{{1|&nbsp; }}}</div>
<div>{{{text|{{{1|&nbsp; }}}}}}</div>
<div {{{style|}}}>{{{text|{{{1|&nbsp; }}}}}}
pending table ∅