Template:Documentation subpage/doc: Difference between revisions
>PJosepherum m 1 revision |
iw>Codename Lisa Fixed the problem of examples not showing up when viewed from Template:Documentation subpage, although they looked okay here. |
||
Line 15: | Line 15: | ||
{{Hidden begin |showhide=left |title=With ''text1'' and ''text2''}} | {{Hidden begin |showhide=left |title=With ''text1'' and ''text2''}} | ||
<code><nowiki>{{Documentation subpage |text1='''''text1 appears here''''' |text2='''''text2 appears here'''''}}</nowiki></code> | <code><nowiki>{{Documentation subpage |text1='''''text1 appears here''''' |text2='''''text2 appears here'''''}}</nowiki></code> | ||
{{Documentation subpage |[''page''] |text1='''''text1 appears here''''' |text2='''''text2 appears here''''' |override={{lc:{{SUBPAGENAME}}<!-- Hack to allow example to appear, even when viewed from [[Template:Documentation subpage]] -->}}}} | |||
{{Hidden end}} | {{Hidden end}} | ||
{{Hidden begin |showhide=left |title=With ''text2'' only}} | {{Hidden begin |showhide=left |title=With ''text2'' only}} | ||
<code><nowiki>{{Documentation subpage |text2='''''text2 appears here'''''}}</nowiki></code> | <code><nowiki>{{Documentation subpage |text2='''''text2 appears here'''''}}</nowiki></code> | ||
{{Documentation subpage |[''page''] |text2='''''text2 appears here''''' |override={{lc:{{SUBPAGENAME}}<!-- Hack to allow example to appear, even when viewed from [[Template:Documentation subpage]] -->}}}} | |||
{{Hidden end}} | {{Hidden end}} | ||
{{Hidden begin |showhide=left |title=With ''text1'' only}} | {{Hidden begin |showhide=left |title=With ''text1'' only}} | ||
<code><nowiki>{{Documentation subpage |text1='''''text1 appears here'''''}}</nowiki></code> | <code><nowiki>{{Documentation subpage |text1='''''text1 appears here'''''}}</nowiki></code> | ||
{{Documentation subpage |[''page''] |text1='''''text1 appears here''''' |override={{lc:{{SUBPAGENAME}}<!-- Hack to allow example to appear, even when viewed from [[Template:Documentation subpage]] -->}}}} | |||
{{Hidden end}} | {{Hidden end}} | ||