* @link https://www.dokuwiki.org/template:vector * @link https://www.dokuwiki.org/devel:configuration */ //check if we are running within the DokuWiki environment if (!defined("DOKU_INC")){ die(); } //note: The boxes will be rendered in the order they were defined. Means: // first box will be rendered first, last box will be rendered at last. $_vector_boxes["example1"]["headline"] = "Hello World!"; $_vector_boxes["example1"]["xhtml"] = "DokuWiki with vector... rules!"; //examples: remove comments to see what is happening /* $_vector_boxes["example2"]["headline"] = "Some links"; $_vector_boxes["example2"]["xhtml"] = ""; */ /* $_vector_boxes["example3"]["headline"] = "Buttons"; $_vector_boxes["example3"]["xhtml"] = "\"Donate\""; */ /* //include the content of another wiki page (you have to create it first, for //sure. In this example, the page "wiki:your_page_here" is used) $_vector_boxes["example4"]["headline"] = "wiki:your_page_here"; $_vector_boxes["example4"]["xhtml"] = tpl_include_page("wiki:your_page_here", false); */