Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Small: Difference between revisions

Template page
m truth in advertising
can't start with <span> and end with </small>, use markup working even without CSS
Line 1: Line 1:
<span style="font-size:85%;">{{{1}}}</small><noinclude>
<small style="font-size:85%;">{{{1}}}</small><noinclude>
----
----
'''Example:''' <nowiki>{{</nowiki>small|Example text.}} → {{small|Example text.}}
'''Example:''' <nowiki>{{</nowiki>small|Example text.}} → {{small|Example text.}}
----
----
[[Category:Text formatting templates|{{PAGENAME}}]]<templatedata>
[[Category:Text formatting templates|{{PAGENAME}}]]<templatedata>
{
{ "description": "Shorthand for CSS font-size:85%",
"description": "Shorthand for CSS font-size:85%",
"params": {
"params": {
"1": {
"1": {
"label": "text",
"label": "text",
"description": "<span style=\"font-size:85%;\"> inline text </small>",
"description": "<small style=\"font-size:85%;\"> inline text </small>",
"type": "string",
"type": "string",
"required": true
"required": true
}
} } }</templatedata></noinclude>
}
}
</templatedata></noinclude>

Revision as of 21:49, 13 January 2015

{{{1}}}


Example: {{small|Example text.}} → Example text.


Shorthand for CSS font-size:85%

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
text1

<small style="font-size:85%;"> inline text </small>

Stringrequired
Cookies help us deliver our services. By using our services, you agree to our use of cookies.