Template:Resize: Difference between revisions

    From Nonbinary Wiki
    (created template)
     
    (corrections)
    Line 1: Line 1:
    {{#if:{{{2}}}|<!--then:--><span style="font-size:{{{1}}};">{{{2}}}</span>|<!--else:--><span style="font-size:90%;">{{{1}}}</span>}}<noinclude>
    {{#if:{{{2|}}}
    | <span style="font-size:{{{1|}}};">{{{2|}}}</span>
    | <span style="font-size:90%;">{{{1|}}}</span>
    }}<noinclude>


    ----
     
    ; Syntax : <code>{{resize|''N''|''text''}}</code>&nbsp; or &nbsp;<code>{{resize|''text''}}</code>
    ; Syntax : <code><nowiki>{{resize</nowiki>|''N''|''text''}}</code>&nbsp; or &nbsp;<code><nowiki>{{resize</nowiki>|''text''}}</code>


    ''N'' specifies a size, such as "90%", "1.2em", etc. For the default case (the second above), ''N'' is set to "90%".
    ''N'' specifies a size, such as "90%", "1.2em", etc. For the default case (the second above), ''N'' is set to "90%".


    </noinclude>
    </noinclude>

    Revision as of 04:24, 2 November 2006


    Syntax
    {{resize|N|text}}  or  {{resize|text}}

    N specifies a size, such as "90%", "1.2em", etc. For the default case (the second above), N is set to "90%".