hj wrote
Your 'action' (I assume you mean template action) is quite convoluted - I can't quite make out what the @FORMPAGE_NS@ stuff is about. (...)
As I've said before, I keep articles taken from a weekly publication in my wiki. To facilitate adding new pages and for easier maintenance of the navigation, I use a separate namespace for each year. This namespace holds one file for each issue and one namespace for all articles within the issues for one year.
The file for each issue contains the bureaucracy form for adding articles to the issue. The remainder of the issue does not concern us here.
Hence, the form I showed above is in the page :wochenblatt:1921:1921-02 where
:wochenblatt is the root for the publication named "wochenblatt" (German for "weekly")
:1921 is the year
:1921-02 is the name of the issue for the second week of the year 1921
The line starting with "ACTION template" tells the plugin that it is to create a new page when the user klicks on the submit button.
The term :include:wochenblattartikel within that line names the template file which I won't show here as it does not matter for now.
The last term :wochenblatt:@FORMPAGE_NS@:artikel:@FORMPAGE_PAGE@-@@Laufnummer@@ constructs the fully qualified ID for the new page It contains three variables:
@FORMPAGE_NS@ will be replaced by the name of the namespace where the page with the form lives, "1921" in this case
@FORMPAGE_PAGE@ will be replaced by the name of the page with the form, "1921-02" in this case
@@Laufnummer@@ will be replaced by the content of the field called Laufnummer within my form.
Hence, the form will produce pages of the form :wochenblatt:1921:artikel:1921-01-nn where nn will be 00, 01, 02 ...
The variables named Formpage... are explained in
https://www.dokuwiki.org/plugin:bureaucracy#template_mode , Use the brower's search function to find FORMPAGE_NS and so on.