User:Tessus/test: Difference between revisions

From evermeet.cx Wiki
Jump to navigation Jump to search
No edit summary
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
== kbd ==
== BOFH ==


{{kbd|./configure --help}}
[[/BOFH | BOFH Test Page]] for MediaWiki [https://www.mediawiki.org/wiki/Extension:BOFH  Extension:BOFH]


== Key_press ==
== Template:Box & Module:Box ==


[https://spewiki.evermeet.cx/Template:Key_press Old Key press documentation (with symbol-only keys and ISO symbols added to certain keys)]
[[/Box | Template:Box & Module:Box]] Test Page


[https://en.wikipedia.org/wiki/Template_talk:Key_press Talk page for Keypress template at wikipedia]
== Key Press ==


[[Template:Key_press]]   {{key press|Ctrl|Alt|Del}}
[[/key press | Key_press]] Test Page


{{key press|Command}}
== Template:subpages ==


{{key press|Cmd}}
=== With parameter ===


{{key press|Control}}
<code><nowiki>{{subpages|User:Tessus}}</nowiki></code>


{{key press|Ctrl}}
{{subpages|User:Tessus}}


{{key press|Option}}
=== No parameter ===


{{key press|Opt}}
<code><nowiki>{{subpages}}</nowiki></code>


{{key press|Escape}}
{{subpages}}


{{key press|Esc}}
== syntaxhighlight ==


{{key press|Tab}}
<syntaxhighlight lang="SQL">
CREATE DATABASE spemail CHARACTER SET utf8 COLLATE utf8_general_ci;
GRANT ALL privileges ON spemail.* TO 'speadmin'@'localhost' IDENTIFIED BY 'blabla';
FLUSH PRIVILEGES;
</syntaxhighlight>


{{key press|Shift}}
<syntaxhighlight lang="c">
#include <stdio.h>


{{key press|Del}}
int main( void )
{
    printf( "Test\n" );
    return 0;
}
</syntaxhighlight>


{{key press|Delete}}
<syntaxhighlight lang="c" line>
#include <stdio.h>


{{key press|Enter}}
int main( void )
{
    printf( "Test\n" );
    return 0;
}
</syntaxhighlight>


{{key press|Return}}
<pre>
openssl aes-256-cbc -in plain-text.txt -out message.enc -pass pass:mySillyPassword
openssl aes-256-cbc -d -in message.enc -out plain-text.txt
</pre>


{{key press|Alt}}
== Tables ==


{{key press|fn}}
https://www.mediawiki.org/wiki/Help:Tables


{{key press|Cmd key|H}}


{{key press|esc key|Q}}
<table border="4" width="{{{1|600}}}" cellspacing="0" cellpadding="10" bgcolor="#000000">
<td><font color="#00ff40">
Someone has messed up the kernel pointers
</font></td>
</table>


== gallery ==
{| class="wikitable" style="border-style:hidden; color:green; background-color:#ffffcc;" cellpadding="10"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}


<gallery>
{|
Todo.jpg
|width="200px" | Orange
Logo.jpg
|Apple
</gallery>
|-
 
|Bread
== News (categories) ==
|Pie
|-
|Butter
|Ice cream
|}


{{BoxBlue|width=100%|height={{#var:boxheight}}|title=Recent Articles|text=
{| style="color: black; background-color: #ffffcc;" width="85%"
<news limit="10" unique=true namespaces=main categories=Article prefix="{|" postfix="|}">
| colspan="2" | This column width is 85% of the screen width (and has a background color)
|-
|-
| {{{date}}}: || &nbsp;&nbsp; || [[{{{pagename}}}]]
| style="width: 30%; background-color: white;"|
</news>
'''This column is 30% counted from 85% of the screen width'''
}}
| style="width: 70%; background-color: orange;"|
'''This column is 70% counted from 85% of the screen width (and has a background color)'''
|}


== Test Boxes ==
{| style="border-style: solid; border-width:1px; color: black;" width="500px"
 
| colspan="2" style="background-color: #ffffcc;" | Coding
{|style="width:85%;height:250px; border-spacing:8px;margin:0px -8px"
|class="MainPage" style="border:1px solid #cedff2; background:#f5faff; vertical-align:top; color:#000"|
{|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#f5faff;"
! <p style="margin:0; background:#cedff2; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;">TEST</p>
|-
|-
|style="color:#000"|Hello
| Col1
| Col2
|-
|-
|}
| Col3
| Col4
|}
|}


== Templates ==
<!-- BoxBlue -->
{{BoxBlue|width=500px|title=Test Title|text=Here comes the text
Line1


Test
Line2
}}


{{Box|color=blue|width=500px|title=Title for Blue Box|text=Template Box.}}
<!-- BoxGreen -->
{{BoxGreen|width=500px|title=We are the champions|text={{subpages}}}}


Test 2
<!-- BoxGrey -->
{{BoxGrey|width=600px|title=We are the champions|text={{subpages}}}}


{{BoxGreen|width=500px|title=test|text=Template BoxGreen.}}
{| class="wikitable sortable"
!Id
!Summary
|-
|style="color: black; background-color: #f9f9f9; padding-left:10px;" |001
|style="color: black; background-color: #ffffcc; padding-left:10px; text-align:center;" |Sum Text 1
|-
|003
|Summary Text 2 very long
|}


Test 3
{{Box|width=600px|text={{subpages}}}}


{{Box|color=green|width=500px|title=Title for Green Box|text=Template Box.}}
<table>
<tr valign="top">
<td>
{{Box|height=250px|title=General|text=<DPL>
category=General
ordermethod=sortkey
order=ascending
</DPL>
}}
</td>
<td>
{{Box|width=250px|height=250px|title=Coding|text=<DPL>
category=Coding
ordermethod=sortkey
order=ascending
</DPL>
}}
</td>
</tr>
</table>


Test 4
== Tag Cloud ==


{{Box|color=yellow|width=500px|text=Template Box.}}
<tagcloud>
exclude=Coding,Article,Article_message_templates,Article_message_templates_with_missing_parameters,Articles_using_small_message_boxes,Calls_to_Module:Unsubst_that_use_$N,Category_namespace_templates,Computer_keys,Data_templates,Disambiguation_message_boxes,Documentation_see_also_templates,Exclude_in_print,External_link_templates,File_message_boxes,File_namespace_templates,Internal_category-link_templates,Lua-based_templates,Mbox_and_messagebox_templates,Pages_with_broken_file_links,Pages_with_syntax_highlighting_errors,Programming_typing-aid_templates,Semantic_markup_templates,Set_index_article_templates,Software_templates,Stub_message_templates,Talk_message_boxes,Talk_namespace_templates,Task_extensions,Template-related_templates,TemplateData_documentation,Template_documentation_pages,Template_namespace_templates,User_namespace_templates
</tagcloud>


Test 5
== News / DynamicPageList (dpl) ==


{{Box|color=red|width=500px|title=Title for Red Box|text=Template Box.}}
{{BoxBlue|width=100%|title=Recent [[:Category:Article|Articles]]|text=
<DPL>
category=Article
ordermethod=lastedit
order=descending
addeditdate=true
userdateformat=d F Y
format={|\n,|-\n| %DATE%: || &nbsp;&nbsp; || [[%PAGE%]]\n,,\n|}
</DPL>
}}


Test 6
{{#dpl:
|category=Article
|ordermethod=lastedit
|order=descending
|addeditdate=true
|userdateformat=d F Y
|format={¦\n,¦-\n¦ %DATE%: ¦¦ &nbsp;&nbsp; ¦¦ [[%PAGE%]]\n,,\n¦}
}}


{{Box|color=purple|width=500px|title=Title for Purple Box|text=Template Box.}}
{{BoxBlue|width=100%|title=Recent Articles|text=
<pre><news limit="10" unique=true namespaces=main categories=Article prefix="{|" postfix="|}">
|-
| {{{date}}}: || &nbsp;&nbsp; || [[{{{pagename}}}]]
</news></pre>
}}


Test 7
== kbd ==


{{Box|color=grey|width=500px|title=Title for Grey Box|text=Template Box.}}
{{kbd|./configure --help}}


== RecentPages ==
== gallery ==


{{BoxGrey|width=100%|height=170px|title=Recent Articles|text=<recent bulletchar="" limit=10 columns=1 />
<gallery>
https://www.mediawiki.org/w/index.php?oldid=2514695
Todo.jpg
}}
Logo.jpg
</gallery>


== DynamicPageList ==
== DynamicPageList ==


{{BoxBlue|width="100%"|height={{#var:boxheight}}|title=Apache|text=<DynamicPageList>
{{BoxBlue|width="100%"|title=Apache|text=<DPL>
category=Apache
category=Apache
ordermethod=sortkey
ordermethod=title
order=ascending
order=ascending
mode=none
mode=none
addfirstcategorydate = true
addfirstcategorydate = true
</DynamicPageList>
</DPL>
}}
}}


== News ==
== RecentChanges ==


<news limit="20" unique=true namespaces=main>
{{Special:RecentChanges/10}}
* [[{{{title}}}]] ([[User:{{{user}}}]], {{{timeanddate}}})
</news>


{{BoxBlue|width=800px|height={{#var:boxheight}}|title=Recent Pages|text=
== Pager ==
<news limit="20" unique=true namespaces=main prefix="{|" postfix="|}">
 
|-
{{Pager
| {{{date}}}: || &nbsp;&nbsp; || [[{{{pagename}}}]]
|color=blue
</news>
|prev=
|next=User:Tessus/todo
}}
}}
== RecentChanges ==
{{Special:RecentChanges/10}}

Latest revision as of 18:10, 8 January 2023

BOFH

BOFH Test Page for MediaWiki Extension:BOFH

Template:Box & Module:Box

Template:Box & Module:Box Test Page

Key Press

Key_press Test Page

Template:subpages

With parameter

{{subpages|User:Tessus}}

No parameter

{{subpages}}

syntaxhighlight

CREATE DATABASE spemail CHARACTER SET utf8 COLLATE utf8_general_ci;
GRANT ALL privileges ON spemail.* TO 'speadmin'@'localhost' IDENTIFIED BY 'blabla';
FLUSH PRIVILEGES;
#include <stdio.h>

int main( void )
{
    printf( "Test\n" );
    return 0;
}
#include <stdio.h>

int main( void )
{
    printf( "Test\n" );
    return 0;
}
openssl aes-256-cbc -in plain-text.txt -out message.enc -pass pass:mySillyPassword
openssl aes-256-cbc -d -in message.enc -out plain-text.txt

Tables

https://www.mediawiki.org/wiki/Help:Tables


Someone has messed up the kernel pointers

Orange Apple
Bread Pie
Butter Ice cream
Orange Apple
Bread Pie
Butter Ice cream
This column width is 85% of the screen width (and has a background color)

This column is 30% counted from 85% of the screen width

This column is 70% counted from 85% of the screen width (and has a background color)

Coding
Col1 Col2
Col3 Col4

Test Title

Here comes the text

Line1

Line2

We are the champions

We are the champions

Id Summary
001 Sum Text 1
003 Summary Text 2 very long

General

Coding

Tag Cloud

News / DynamicPageList (dpl)

Recent Articles

28 June 2024:    Reverse Proxy setup for Cockpit with Apache (in a sub directory)
25 February 2023:    ASUS router DNS check fix
12 February 2019:    How to setup git-mulitmail on gitolite
24 November 2017:    Reference Of Most Commonly Used OpenSSL Commands
25 October 2017:    MediaWiki Weirdness
10 September 2017:    Let's Encrypt with Apache, dovecot, and sendmail
28 June 2024:    Reverse Proxy setup for Cockpit with Apache (in a sub directory)
25 February 2023:    ASUS router DNS check fix
12 February 2019:    How to setup git-mulitmail on gitolite
24 November 2017:    Reference Of Most Commonly Used OpenSSL Commands
25 October 2017:    MediaWiki Weirdness
10 September 2017:    Let's Encrypt with Apache, dovecot, and sendmail

Recent Articles

<news limit="10" unique=true namespaces=main categories=Article prefix="{|" postfix="|}">
|-
| {{{date}}}: ||    || [[{{{pagename}}}]]
</news>

kbd

./configure --help

gallery

DynamicPageList

Apache

RecentChanges

No changes during the given period match these criteria.

Pager

  Tessus/test ᐅᐳ     User:Tessus/todo     ᐅᐳ