Table of contents example TOC :

GNS3 NVCT

Networking Vendor Colorcode Table for the GNS3 stock SVG iconset:

Vendor GNS3 appliance color
A10 A10 Networks
Alcatel Alcatel Lucent
Arista Arista Networks
Aruba Aruba Networks
B.I.R.D. B.I.R.D
Cisco Cisco Systems
Cumulus Cumulus Networks
Ericsson Ericsson
Extreme Extreme Networks
FS FS
freerTr freerTr
FRRouting FRRouting
H3C H3C Networks
Hillstone Hillstone NETWORKS
HPE Hewlett Packard Enterprise
Huawei Huawei
Juniper Juniper Networks
Marconi Marconi
MikroTik MikroTik
Nokia Nokia Networks
Quagga Quagga
Redback Redback Networks
Ruckus Ruckus Networks
Ruijie Ruijie Networks
VyOS VyOS

Copyright and License

CSS shadow example

![example01](pictures/example01.png)

HTML code

Selection:

code looks
display 🌁
display 🌉
display 🌐
display 🐡
display 💻
display 📃
display 📄
display 📑
display 📒
display 📓
display 📔
display 📕
display 📖
display 📗
display 📘
display 📙
display 📞
display 📡
display 🗿

This should be 5 times bigger as the above list, absolute size set to 100px, but seems to ignore:

📡

Pagestats

Show the top 7 pagestats tags in table style:

CLI125
linux109
networking63
gentoo39
netlab38
IOS29
routing29

By default, the names of pages are shown. The show parameter can be used (with a non-numeric value) to show the titles or descriptions of pages instead (as set by the meta directive). For example:

Example by description

CLI125
linux109
networking63
gentoo39
netlab38

Example by title

pages tagged CLI125
pages tagged linux109
pages tagged networking63
pages tagged gentoo39
pages tagged netlab38

Perl

Herr Thomas Fahle, hat einen Blogartikel über den Einsatz dieser Bibliothek geschrieben. Lesenswert, gut erklärt, verständlich, in einfach lesbarer Sprache. mit pratischen Beispielen. Nicht überladen. Gut investierte Zeit wenn man Etwas lernen möchte.

microformats and variables and pubdate bugs

Overview over the avaialbe microformats^114 ikiwiki supports. pubdate variable changes^115

Enable the CTIME in the page.tmpl or create own template. CTIME is commmented out in the default setting.

footnotes

urlsandbox

mdwn_footnotes: If set to 1, implementations that support it will recognise the footnote syntax originating in PHP Markdown Extra, with Footnote reference^1 and ^1: Footnote definition. The default is 1.

Reference

RFC1925^1 or CologneRFC^2 some hints may be found at RFC6666^3

Definition

Example

I get 10 times more traffic from metaGer than from duck or HotBot.

toggle

like the more click ikiwiki link shown below, but different:

show

RSR1#show version 
System description      : Ruijie (X86 TESTBENCH) by Ruijie Networks.
System start time       : 2023-07-06 12:57:25
System uptime           : 0:00:02:37
System hardware version : 1.00
System software version : X86_RGOS 12.5(5)
System patch number     : NA
System serial number    : R0C8830730000
System boot version     : NA
System rboot version    : NA
Module information:
Slot 0 : X86
    System uptime       : 0:00:02:37
    Hardware version    : 1.00
    Boot version        : NA
    Rboot version       : NA
    Software version    : X86_RGOS 12.5(5)
    Serial number       : R0C8830730000

R225#show radius vendor-specific
id    vendor-specific      type-value
- - - - - - - - - - - - - - - - - - -
1     max-down-rate        1
2     port-priority        2
3     user-ip              3
4     vlan-id              4
5     last-supplicant-vers 5
  ion
6     net-ip               6
7     user-name            7
8     password             8
9     file-directory       9
10    file-count           10
11    file-name-0          11
12    file-name-1          12
13    file-name-2          13
14    file-name-3          14
15    file-name-4          15
16    max-up-rate          16
17    current-supplicant-v 17
      ersion
18    flux-max-high32      18
19    flux-max-low32       19
20    proxy-avoid          20
21    dialup-avoid         21
22    ip-privilege         22
23    login-privilege      42
26    ipv6-multicast-addre 79
      ss
27    ipv4-multicast-addre 87
      ss
62    access-user-type     62
118   wlan-id              118
125   private terminate ca 125
      use
126   terminal-type        126
133   ipv6-output-packets  133
132   ipv6-input-packets   132
135   ipv6-output-octets   135
134   ipv6-input-octets    134
137   ipv6-output-gigaword 137
      s
136   ipv6-output-gigaword 136
      s
154   flux-policy          154
158   atname               158

hide

traillink

  • This needs plugin activation as well this traillink.

These are traillinks, just 2 different examples:

Click here to start the trail Click here to start the other trail

tables and -> more

Table and click for more do not play nice in one article, this is the syntax for the click for more

[[more linktext="click for more" text="""
mehr text
"""]]

The tables syntax has also the triple """ for begin and and this breaks either the URL or the table, depends on position in the article.

new line in template

add   in the template to generate a one line break.

inline code

inline code is written code

taglink

  • http://ikiwiki.info/ikiwiki/directive/tag/

netlab [[!taglib netlab]]

tagged as netlab <a href="./tags/netlab.html">tagged as netlab</a>

template

cmd.mdwn template example:

cmd

user % show ip add

template id=cmd uses TMPL_VAR: command= output=

cmd template example

user % pinky

Login Name TTY Idle When Where user tty1 20d 2022-01-04 23:36 user pts/0 2022-01-04 23:36 :1

rootcmd

rootcmd.mdwn template:

root # ip add

template id=rootcmd uses TMPL_VAR: command= output=

rootcmd template example:

root # id uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),26(tape),27(video),240(distcc)

note

note.tmpl example:

  • template id=note
  • uses TMPL_VAR text
  • default note template is found in /usr/share/ikiwiki/basewiki/templates

clibox

clibox.mdwn template

user $ ip route

template id=clibox uses TMPL_VAR: command= output=

Example output of a clibox:

user $ ip route

default via 192.0.2.254 dev wlan0 proto dhcp src 192.0.2.245 metric 10 192.0.2.0/24 dev wlan0 proto dhcp scope link src 192.0.2.245 metric 10 127.0.0.0/8 via 127.0.0.1 dev lo

rtrcli

The routercli template has as only the prompt VARIABLE. The prompt as itself is set to has already # integrated in the same color, differing to the other templates, which are used for computer node terminal. The configuring user has maximal right from the beginning shown by the #:

admin@R1#ip add print

template id=rtrcli uses TMPL_VAR: prompt= command= output=

rtrcli.mdwn template example with RouterOS prompt and command. Not exactly but almost:

admin@R33#ip add print

Flags: X - disabled, I - invalid, D - dynamic # ADDRESS NETWORK INTERFACE 0 159.148.147.211/32 159.148.147.213 ether1 1 D 10.92.94.49/32 10.92.94.49 lte1

vrpuser

<R112>dis ip route

Flags: X - disabled, I - invalid, D - dynamic # ADDRESS NETWORK INTERFACE 0 159.148.147.211/32 159.148.147.213 ether1 1 D 10.92.94.49/32 10.92.94.49 lte1

vrpsystem

[R112]dis ip route

Flags: X - disabled, I - invalid, D - dynamic # ADDRESS NETWORK INTERFACE 0 159.148.147.211/32 159.148.147.213 ether1 1 D 10.92.94.49/32 10.92.94.49 lte1

notifications boxes

Hint

Hint template example:

📗 Hint

template id=hint uses TMPL_VAR: text=

Notify

Notification template example:

📘 Note

template id=notify uses TMPL_VAR: text=

Important

Important template example:

📙 Important

template id=important uses TMPL_VAR: text

Warning

Warning template example:

📕 Warning

template id=warning uses TMPL_VAR: text

file

This file template, is a bit misbehaving need to fix it.

📄 File /template/file

template id=file uses TMPL_VAR: filename= text=

📄 File /lorem/ipsum

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed doeiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad minim veniam, quis nostrud exercitation ullamco laboris nisi utaliquip ex ea commodo consequat. Duis aute irure dolor inreprehenderit in voluptate velit esse cillum dolore eu fugiat nullapariatur. Excepteur sint occaecat cupidatat non proident, sunt inculpa qui officia deserunt mollit anim id est laborum.

Ipsum ipsum, lorem lorem. amet constructor baptisising elitsts, usig sed doas usrmod teporarily incdient in the net labore with Dolores magma aqua. It animal mad minimal in vein I am. doas no strace exercitation ulam & co. in the laboratory no sense italian equip ex commodore conseqential. Doas auto ...

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed doeiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad minim veniam, quis nostrud exercitation ullamco laboris nisi utaliquip ex ea commodo consequat. Duis aute irure dolor inreprehenderit in voluptate velit esse cillum dolore eu fugiat nullapariatur. Excepteur sint occaecat cupidatat non proident, sunt inculpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed doeiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad minim veniam, quis nostrud exercitation ullamco laboris nisi utaliquip ex ea commodo consequat. Duis aute irure dolor inreprehenderit in voluptate velit esse cillum dolore eu fugiat nullapariatur. Excepteur sint occaecat cupidatat non proident, sunt inculpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed doeiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad minim veniam, quis nostrud exercitation ull

Different border style

A solid border.

highlight

Highlight does not work, as you can see. Fix it.

[[!format c """ void main () { printf("hello, world!"); } """]]

[[!format diff """ -bar +foo """]]

[[!format perl """ print "hello, world\n"; """]]

[[!format perl """ print "hello, world\n"; """]]

[[!format python """ [[!inline pages="program.py" raw="yes"]] """]]

View raw file

header example

h1

h2

h3

h4

h5
h6

font example

kursiv fett

fett und kursiv zugleich


Test der Schrift zwischen 2 horizontalen Linien


Test 2 der Schrift

color

Here the foreground color is defined as a word, while the background color is defined as a HTML color code:

White text on red background

The background color is missing, so the text is displayed on default background:

Orange text on black background

The foreground is missing, so the text has the default foreground color:

Default color text on black background

Testing 201610111 more Testing this is a new test

Table Examples

example table 1:

Customer Amount
Fulanito 134,34
Menganito 234,56
Menganito 234,56

OSPF table 2:

OSPF command Parameters Default optimize disabled Default optimize enabled
timers throttle spf
initial (ms) 5000 50
min-delay(ms) 10000 200
max-delay (ms) 10000 5000
timers throttle lsa all
Initial (ms) 0 50
min-delay (ms) 5000 200
max-delay(ms) 5000 5000
timers lsa arrival ms 1000 100

NSAP Loopback adresses overview:

Router NSAP address IPv6 loopback IPv4 loobpack
R1 49.0001.1111.1111.1111.00 2001:db8:1111::/128 192.0.2.1/32
R2 49.0001.2222.2222.2222.00 2001:db8:2222::/128 192.0.2.2/32
R3 49.0001.3333.3333.3333.00 2001:db8:3333::/128 192.0.2.3/32
R4 49.0001.4444.4444.4444.00 2001:db8:4444::/128 192.0.2.4/32
R5 49.0001.5555.5555.5555.00 2001:db8:5555::/128 192.0.2.5/32

random table 3:

10 sets: You requested 10 sets with 3 unique random integers in each, taken from the [1100,64999] range. The integers in each set were sorted in ascending order.

Sets data

Set 1st 2nd 3rd
1 26798 45912 62565
2 14720 24476 40373
3 3309 7723 43846
4 7187 42923 64908
5 19044 44402 51280
6 7773 21930 58200
7 19215 25249 40060
8 8237 47914 62564
9 12542 15832 23867
10 23834 42933 43098

super table

Customer Amount
Fulanito 134,34
Menganito 234,56
Menganito 234,56

inline URL

unnumbered list (ul)

  • Unordered list can use asterisks (*)
  • Or minuses (-)
  • Or pluses (+)

numbered list (nl) ?

Not sure, do not know the syntax :/

markdown syntax

fortune

Must install fortune and enable the plugin to work.

Fortune cookie test:

[[!fortune ]]

currently not enabled.

keyboard CTRL

keyboard keys are needed, best would be as keyboardkeys.tmpl file, here the ikiwiki available KBD: CTRL E keyboard shortcut.

terminal color sheet for XTerm

format

The format directive is supplied by the format plugin.

The directive allows formatting a chunk of text using any available page format. It takes two parameters. First is the type of format to use, ie the extension that would be used for a standalone file of this type. Second is the text to format.

For example, this will embed an otl outline inside a page using mdwn or some other format:

[[!format   otl """
foo
    1
    2
bar
    3
    4
"""]]

Note that if the highlight plugin is enabled, this directive can also be used to display syntax highlighted code. Many languages and formats are supported. For example:

[[!format   perl """
print "hello, world\n";
"""]]

format can also be used to format entire source files and display them on a page. Simply put an inline directive with the raw attribute set inside a format. This can be useful if you want to both serve the file raw, as well as show it syntax highlighted on a page. An example:

[[!format   python """
[[!inline pages="program.py" raw="yes"]]
"""]]

<span class="createlink">View raw file</span>

distributed wikis

  • https://ikiwiki.info/tips/distributed_wikis/

cool ikikwiki

cool ikiwiki .setup

Changing ikiwiki.setup

If changing setup, like removing plugins or adding, following procedure suggested to refresh the wiki

ikiwiki blog.setup --refresh

ikiwiki blog.setup --rebuild