Jump to content

Template:Right sidenote/testcases

From Wikisource

Testing sandbox version

[edit]
Test criterion Template invocation Expected code to be generated Code actually generated
Basic structure. {{Right sidenote/sandbox|Lorem ipsum}}
<span class="sidenote-right "><span class="__sidenote_inner ___sidenote_right " style="text-indent:0em;display:inline-block;">Lorem ipsum</span></span>
'"`UNIQ--templatestyles-00000007-QINU`"'<span  class="sidenote-right "><span class="__sidenote_inner ___sidenote_right " style="


text-indent:0em;display:inline-block;">Lorem ipsum</span></span>
Special class overrides.. {{Right sidenote/sandbox|Lorem ipsum|special=__overfloat}}
<span class="sidenote-right __overfloat"><span class="__sidenote_inner ___sidenote_right " style="text-indent:0em;display:inline-block;">Lorem ipsum</span></span>
'"`UNIQ--templatestyles-0000000E-QINU`"'<span  class="sidenote-right __overfloat"><span class="__sidenote_inner ___sidenote_right " style="


text-indent:0em;display:inline-block;">Lorem ipsum</span></span>
Defining an ID {{{{BASEPAGENAME}}/sandbox|Lorem ipsum|special=__overfloat|id=1.0}}
'"`UNIQ--templatestyles-00000012-QINU`"'<span id="1.0" class="sidenote-right __overfloat"><span class="__sidenote_inner ___sidenote_right " style="


text-indent:0em;display:inline-block;">Lorem ipsum</span></span>


{{Right sidenote/sandbox}}


Testing main template

[edit]

{{Right sidenote}}