User:Chkummer

From
Revision as of 08:55, 7 March 2023 by Chkummer (talk | contribs) (Experimental Stuff)
Jump to: navigation, search

Helpful links about Wiki

Edit/Change Sidebar

Edit the MediaWiki:Sidebar Page (as Wiki-Admin)

Creating Cmd Template

  • Search for 'Template:GenericCmd' click on 'Create the page "Template:GenericCmd" on this wiki!' get the source from GenericCmd and past it. Follow the instructions to copy/paste the required dependencies.
  • Search for 'Template:Cmd' click on 'Create the page "Template:Cmd" on this wiki!' get the source from Cmd
  • Search for 'Template:RootCmd' click on 'Create the page "Template:RootCmd" on this wiki!' get the source from

Or try to use these ones https://www.kerwien.se/wiki/Category:Template

Some other Pages

Experimental Stuff

Templates

Working with Templates could be complicated. Here are some debugging tips. Sometimes the Expand templates could be very helpful

Template:Bc

Using Template 'Bc':

code

Template:Test

Using Template 'Test': ((Test|testText))

Template:GenericCmd

Using Template 'GenericCmd':


{{#if: testGenericCmd|

{{#if:|Too many parameters. Maximum is 10.| {{#if:|{{{prompt}}} testGenericCmd {{#if:|
{{{prompt}}}
{{{2}}}|}} {{#if:|
{{{prompt}}}
{{{3}}}|}} {{#if:|
{{{prompt}}}
{{{4}}}|}} {{#if:|
{{{prompt}}}
{{{5}}}|}} {{#if:|
{{{prompt}}}
{{{6}}}|}} {{#if:|
{{{prompt}}}
{{{7}}}|}} {{#if:|
{{{prompt}}}
{{{8}}}|}} {{#if:|
{{{prompt}}}
{{{9}}}|}} {{#if:|
{{{prompt}}}
{{{10}}}|}}

{{#if:|
{{{output}}}|}}|testGenericCmd}}
}}

|Template:Error}}


Template:Cmd

Using Template 'Cmd':

{{#if: testCmd |{{#if:

|Template:Error
|

{{#if: testCmd|

{{#if:|Too many parameters. Maximum is 10.| {{#if:user $|user $ testCmd {{#if:|
user $
|}} {{#if:|
user $
|}} {{#if:|
user $
|}} {{#if:|
user $
|}} {{#if:|
user $
|}} {{#if:|
user $
|}} {{#if:|
user $
|}} {{#if:|
user $
|}} {{#if:|
user $
|}}

{{#if:|
|}}|testCmd}}
}}

|Template:Error}}

}}

|Template:Error }}

Template:RootCmd

Using Template 'RootCmd':

{{#if: testRootCmd |{{#if:

|Template:Error
|

{{#if: testRootCmd|

{{#if:|Too many parameters. Maximum is 10.| {{#if:root #|root # testRootCmd {{#if:|
root #
|}} {{#if:|
root #
|}} {{#if:|
root #
|}} {{#if:|
root #
|}} {{#if:|
root #
|}} {{#if:|
root #
|}} {{#if:|
root #
|}} {{#if:|
root #
|}} {{#if:|
root #
|}}

{{#if:|
|}}|testRootCmd}}
}}

|Template:Error}}

}}

|Template:Error }}