Sandbox: Difference between revisions

From Wurst-Wasser.net
Jump to navigation Jump to search
Line 4: Line 4:
=== 7 ===
=== 7 ===
Make use of Magic Words. Again. Forcing 80 columns, filling with spaces (special ones, use Alt-Space to produce, used everywhere where HTML would delete >1 spaces (can use nbsp, but thats so ugly!)):
Make use of Magic Words. Again. Forcing 80 columns, filling with spaces (special ones, use Alt-Space to produce, used everywhere where HTML would delete >1 spaces (can use nbsp, but thats so ugly!)):
{{Terminal |
{{TerminalSandbox |
{{padleft:System  . . . . . :   NIBBLER|80| }}
{{padleft:System  . . . . . :   NIBBLER|80| }}
{{padleft:Subsystem . . . . :   QINTER |80| }}
{{padleft:Subsystem . . . . :   QINTER |80| }}
Line 48: Line 48:
==== Demo ====
==== Demo ====
Make use of Magic Words
Make use of Magic Words
{{Terminal |
{{TerminalSandbox |
{{padleft:System  . . . . . :   NIBBLER|80| }}
{{padleft:System  . . . . . :   NIBBLER|80| }}
{{padleft:Subsystem . . . . :   QINTER |80| }}
{{padleft:Subsystem . . . . :   QINTER |80| }}
Line 55: Line 55:
=== 5 ===
=== 5 ===
Like 4, but encoding leading spaces with ":" (see https://www.mediawiki.org/wiki/Help:Formatting "Indent Text")
Like 4, but encoding leading spaces with ":" (see https://www.mediawiki.org/wiki/Help:Formatting "Indent Text")
{{Terminal |
{{TerminalSandbox |
:::::::::::::::::System  . . . . . :   NIBBLER
:::::::::::::::::System  . . . . . :   NIBBLER
:::::::::::::::::Subsystem . . . . :   QINTER
:::::::::::::::::Subsystem . . . . :   QINTER
Line 62: Line 62:
=== 4 ===
=== 4 ===
Like 2, but only leading spaces coded (and some more, because HTML ignores multiple spaces. By design. >1 Space == 1 Space. Fuck!
Like 2, but only leading spaces coded (and some more, because HTML ignores multiple spaces. By design. >1 Space == 1 Space. Fuck!
{{Terminal |
{{TerminalSandbox |
                                              System  . . . . . :   NIBBLER
                                              System  . . . . . :   NIBBLER
                                              Subsystem . . . . :   QINTER
                                              Subsystem . . . . :   QINTER
Line 69: Line 69:
=== 3 ===
=== 3 ===
Prevent <nowiki><code>/<pre></nowiki> do it's work, still sucks, even disregards <nowiki><br/></nowiki>...
Prevent <nowiki><code>/<pre></nowiki> do it's work, still sucks, even disregards <nowiki><br/></nowiki>...
{{Terminal |<nowiki>                                              System  . . . . . :&nbsp;&nbsp;&nbsp;NIBBLER<br/>
{{TerminalSandbox |<nowiki>                                              System  . . . . . :&nbsp;&nbsp;&nbsp;NIBBLER<br/>
                                               Subsystem . . . . :&nbsp;&nbsp;&nbsp;QINTER</nowiki>
                                               Subsystem . . . . :&nbsp;&nbsp;&nbsp;QINTER</nowiki>
}}
}}
Line 75: Line 75:
=== 2 ===
=== 2 ===
Spaces, converted in nbsp (ugly)
Spaces, converted in nbsp (ugly)
{{Terminal | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System&nbsp;&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;:&nbsp;&nbsp;&nbsp;NIBBLER<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs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m/Prozedur&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;&nbsp;&nbsp;__________<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Menü&nbsp;&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;&nbsp;&nbsp;__________<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Aktuelle&nbsp;Bibliothek&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;.&nbsp;&nbsp;&nbsp;__________<br/><br/><br/><br/><br/>
}}
}}


=== 1 ===
=== 1 ===
Spaces...
Spaces...
{{Terminal |                                              System  . . . . . :  NIBBLER<br/>                                              Subsystem . . . . :  QINTER<br/>                                              Bildschirm  . . . :  KIFS1<br/><br/><br/>                Benutzer  . . . . . . . . . . . .  __________<br/>                Kennwort  . . . . . . . . . . . .  __________<br/>                Programm/Prozedur . . . . . . . .  __________<br/>                Menü  . . . . . . . . . . . . . .  __________<br/>                Aktuelle Bibliothek . . . . . . .  __________<br/><br/><br/><br/><br/>
{{TerminalSandbox |                                              System  . . . . . :  NIBBLER<br/>                                              Subsystem . . . . :  QINTER<br/>                                              Bildschirm  . . . :  KIFS1<br/><br/><br/>                Benutzer  . . . . . . . . . . . .  __________<br/>                Kennwort  . . . . . . . . . . . .  __________<br/>                Programm/Prozedur . . . . . . . .  __________<br/>                Menü  . . . . . . . . . . . . . .  __________<br/>                Aktuelle Bibliothek . . . . . . .  __________<br/><br/><br/><br/><br/>
}}
}}



Revision as of 19:46, 26 December 2022

Terminal-Sandbox, reloaded

ℹ️ These utilize Template:Terminal.

7

Make use of Magic Words. Again. Forcing 80 columns, filling with spaces (special ones, use Alt-Space to produce, used everywhere where HTML would delete >1 spaces (can use nbsp, but thats so ugly!)):

                                                   System  . . . . . :   NIBBLER                                                    Subsystem . . . . :   QINTER                                                     Bildschirm  . . . :   KIFS1                                                                                                        Benutzer  . . . . . . . . . . . .   __________                                   Kennwort  . . . . . . . . . . . .   __________                                   Programm/Prozedur . . . . . . . .   __________                                   Menü  . . . . . . . . . . . . . .   __________                                   Aktuelle Bibliothek . . . . . . .   __________                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         (C) COPYRIGHT IBM CORP. 1980, 1999.

Best solution this far.

Issues:

  • Multiple spaces must be escaped (using &nbsp; or Alt-Space)
  • Since this fills the row to 80 columns, text must be right-balanced, again, use special spaces to make it work
  • Every row has to be edited

What would be better? → Feed the Template one string with ordinary spaces and newlines and and let it escape/convert them (How? Lua?)

https://www.mediawiki.org/wiki/Extension:StringFunctions ??? https://www.mediawiki.org/wiki/Extension:ParserFunctions

6

Sandbox

____________________________________________________________________________Test

Demo

Make use of Magic Words

                                                   System  . . . . . :   NIBBLER                                                    Subsystem . . . . :   QINTER 

5

Like 4, but encoding leading spaces with ":" (see https://www.mediawiki.org/wiki/Help:Formatting "Indent Text")

System  . . . . . :   NIBBLER
Subsystem . . . . :   QINTER

4

Like 2, but only leading spaces coded (and some more, because HTML ignores multiple spaces. By design. >1 Space == 1 Space. Fuck!

                                              System  . . . . . :   NIBBLER                                               Subsystem . . . . :   QINTER

3

Prevent <code>/<pre> do it's work, still sucks, even disregards <br/>...

System . . . . . :   NIBBLER<br/> Subsystem . . . . :   QINTER

2

Spaces, converted in nbsp (ugly)

                                               System  . . . . . :   NIBBLER
                                               Subsystem . . . . :   QINTER
                                               Bildschirm  . . . :   KIFS1


                Benutzer  . . . . . . . . . . . .   __________
                Kennwort  . . . . . . . . . . . .   __________
                Programm/Prozedur . . . . . . . .   __________
                Menü  . . . . . . . . . . . . . .   __________
                Aktuelle Bibliothek . . . . . . .   __________




1

Spaces...

System . . . . . : NIBBLER
Subsystem . . . . : QINTER
Bildschirm . . . : KIFS1


Benutzer . . . . . . . . . . . . __________
Kennwort . . . . . . . . . . . . __________
Programm/Prozedur . . . . . . . . __________
Menü . . . . . . . . . . . . . . __________
Aktuelle Bibliothek . . . . . . . __________




Terminal-Sandbox

MediaWiki:Common.css

WIP

AS/400 rocks
Blah
Blubb
Dang

Template:Pagename

Some Forum Related Crap

Oldthreaddetectedbewarezombies.gif

TestImage.png

Caching Stuff Test

Testfile.png Spuren zu verfolgen:

wgDiff3
wgMainCacheType CACHE_ACCEL

http://www.mediawiki.org/wiki/Manual:Cache http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_completely_disable_caching.3F THIS seems to solve it: http://www.mediawiki.org/wiki/Manual:$wgEnableParserCache

Testfile2.png Testfile3.png

Frag Sebastian...

Testfile4.png

Other Tests

  1. toc
    1. http://www.wurst-wasser.net/wiki/index.php/Sandbox#search_what
    2. http://www.wurst-wasser.net/wiki/index.php/Sandbox#anzeigen

vdfjkn dfkjnv kfd

vdfvdfsv

vfds vdfsv dsfv


fon: +49 781 00 9999999

mobil: +49 172 0000 0000 000

mailto:devnull@wurst-wasser.net

vfdsvdfvfafv


search_what

  • foo
  • foo

anzeigen

  • Gagag

Tables

http://www.mediawiki.org/wiki/Help:Tables/de

Wiki Code vgl. HTML Code Beschreibung
{| <table> Tabellenanfang
|+   Tabellenüberschrift, optional; nur einmal pro Tabelle zwischen Tabellenanfang und erster Zeile definierbar
|- <tr> neue Tabellenzeile
! <th> Tabellenkopfzelle, optional. Aufeinanderfolgende Kopfzellen können, durch doppelte Ausrufezeichen (!!) getrennt, in der gleichen Zeile folgen oder mit einfachen Ausrufezeichen (!) auf einer neuen Zeile beginnen.
| <td> Tabellenzelle, Pflicht! Aufeinanderfolgende Zellen können, durch doppelte Striche (||) getrennt, in der gleichen Zeile folgen oder mit einfachem Strich (|) auf einer neuen Zeile beginnen.
|} </table> Tabellenende