Difference between revisions of User:Viceroy Sam/sandbox

Jump to navigation Jump to search
(Parameters)
(u)
Line 1: Line 1:
{| width="100%" cellpadding="5" cellspacing="10" style="background:#000; border-style:solid; border-width:1px; border-color:black;"
| width="55%" style="vertical-align:top;padding: 0; margin:0;" |


<center>[[File:Speculative-fiction-portal-logo-v2a.png|640px|A really nice image goes here|link=Frequently Asked Questions|alt=FAQ]]</center>
{{markup
|<nowiki>Lorem {{code|ipsum '''dolor'''}} sit amet</nowiki>
|Lorem {{code|ipsum '''dolor'''}} sit amet


{{/Header}}
|<nowiki>The declaration {{code |lang=cpp |int foo(const std::string& bar, const std::vector<long double*>& baz);}} is the prototype for a function defined later.</nowiki>
{{Box header|<big>Welcome to EndMyopia Wiki, the vision improvement encyclopedia. </big>|Template:EndMyopia Wiki/Intro|Gold|lightyellow}}
|The declaration {{code |lang=cpp |int foo(const std::string& bar, const std::vector<long double*>& baz);}} is the prototype for a function defined later.
{{EndMyopia Wiki/Intro}}
{{Box footer|}}
</div>


<div class="portal-column-left"> <!-- Switch to one column on narrow screens -->
|<nowiki>If the code contains an [[equals sign]], such as {{code |lang=javascript |code=var img = document.getElementsByTagName("img");}}, you must identify the first parameter explicitly as {{{1}}} or {{{code}}}; see also [[:bugzilla:5138]].</nowiki>
{{Box header|Wiki stuff|Template:{{FULLPAGENAME}}/Left1|Gold|lightyellow}}
|If the code contains an [[equals sign]], such as {{code |lang=javascript |code=var img = document.getElementsByTagName("img");}}, you must identify the first parameter explicitly as {{{1}}} or {{{code}}}; see also [[:bugzilla:5138]].
{{EndMyopia Wiki/Left1}}
}}
{{Box footer|}}
 
{{Box header|EndMyopia Concepts|Template:{{FULLPAGENAME}}/Left2|Gold|lightyellow}}
{{EndMyopia Wiki/Left2}}
{{Box footer|}}
 
</div>
<div class="portal-column-right"> <!-- Switch to one column on narrow screens -->
{{Box header|Guide|Template:{{FULLPAGENAME}}/Right1|Gold|lightyellow}}
{{EndMyopia Wiki/Right1}}
{{Box footer|}}
 
{{Box header|EndMyopia newbies|Template:{{FULLPAGENAME}}/Right2|Gold|lightyellow}}
{{EndMyopia Wiki/Right2}}
{{Box footer|}}
</div>
</div>
 
<div style="float:right; width:100%">
 
{{Box header|Contributing to the Wiki|Template:{{FULLPAGENAME}}/Wide1|Gold|lightyellow}}
{{EndMyopia Wiki/Wide1}}
{{Box footer|}}
 
</div>
{{Policies and guidelines}}

Revision as of 00:04, 9 June 2020

Markup Renders as
Lorem {{code|ipsum '''dolor'''}} sit amet

Lorem <syntaxhighlight lang="text" class="" id="" style="" inline="1">ipsum dolor</syntaxhighlight> sit amet

The declaration {{code |lang=cpp |int foo(const std::string& bar, const std::vector<long double*>& baz);}} is the prototype for a function defined later.

The declaration <syntaxhighlight lang="cpp" class="" id="" style="" inline="1">int foo(const std::string& bar, const std::vector<long double*>& baz);</syntaxhighlight> is the prototype for a function defined later.

If the code contains an [[equals sign]], such as {{code |lang=javascript |code=var img = document.getElementsByTagName("img");}}, you must identify the first parameter explicitly as {{{1}}} or {{{code}}}; see also [[:bugzilla:5138]].

If the code contains an equals sign, such as <syntaxhighlight lang="javascript" class="" id="" style="" inline="1">var img = document.getElementsByTagName("img");</syntaxhighlight>, you must identify the first parameter explicitly as {{{1}}} or {{{code}}}; see also bugzilla:5138.