Difference between revisions of "Template:Code"
From Timelines
(add optional scroll parameter for displaying longer code samples) |
m |
||
Line 1: | Line 1: | ||
− | <div style="display:block;border:1px dashed darkblue;padding:.8em;margin-top:.5em;margin-bottom:.5em;background:#fafafa;{{ #ifeq: {{2}} | scroll |height:10em;overflow-y:auto; }}"><includeonly>{{{1}}}</includeonly><noinclude>{{Lorem Ipsum}}</noinclude></div><noinclude> | + | <div style="display:block;border:1px dashed darkblue;padding:.8em;margin-top:.5em;margin-bottom:.5em;background:#fafafa;{{ #ifeq: {{{2}}} | scroll |height:10em;overflow-y:auto; }}"><includeonly>{{{1}}}</includeonly><noinclude>{{Lorem Ipsum}}</noinclude></div><noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 04:03, 23 February 2008
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |