plugin:textinsert
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:textinsert [2019-10-04 20:50] – Aleksandr | plugin:textinsert [2022-08-30 01:16] (current) – compatible Igor 82.64.33.11 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
---- plugin ---- | ---- plugin ---- | ||
Line 7: | Line 7: | ||
type : syntax | type : syntax | ||
lastupdate : 2019-10-03 | lastupdate : 2019-10-03 | ||
- | compatible : Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, | + | compatible : Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, |
depends | depends | ||
conflicts | conflicts | ||
Line 13: | Line 13: | ||
tags : replace, macro, entities, entity | tags : replace, macro, entities, entity | ||
- | downloadurl: | + | downloadurl: |
bugtracker : https:// | bugtracker : https:// | ||
- | sourcerepo : https:// | + | sourcerepo : https:// |
donationurl: | donationurl: | ||
---- | ---- | ||
Line 25: | Line 25: | ||
===== Examples/ | ===== Examples/ | ||
+ | |||
This plugin provides an administrative panel where you enter macro names and their substitution texts. | This plugin provides an administrative panel where you enter macro names and their substitution texts. | ||
Line 33: | Line 34: | ||
All Roads Lead to " | All Roads Lead to " | ||
- | The textinsert plugin will allow you to create macros for extended texts. You can create paragraph length texts with HTML markup which have to be repeated, for instance, as instructions at the tops of pages. | + | The textinsert plugin will allow you to create macros for extended texts. You can create paragraph length texts with HTML markup which has to be repeated |
Macro_HTML | Macro_HTML | ||
**Note**: The underscore is required. | **Note**: The underscore is required. | ||
+ | ==== Basic Syntax ==== | ||
+ | # | ||
==== Macro Inclusions ==== | ==== Macro Inclusions ==== | ||
- | Some of the functionality of this plugin at its simplest can be implemented with DokuWiki' | + | Some of the functionality of this plugin at its simplest can be implemented with DokuWiki' |
One advantage of TextInsert comes when dealing with extended blocks of text and with its ability to include other macros inside the primary macro definition. That is, it can accept: | One advantage of TextInsert comes when dealing with extended blocks of text and with its ability to include other macros inside the primary macro definition. That is, it can accept: | ||
Line 48: | Line 50: | ||
MACRO_2 | MACRO_2 | ||
- | The result | + | The result |
This macro can include a second macro inside it. | This macro can include a second macro inside it. | ||
Line 71: | Line 73: | ||
There is a configuration option which governs whether or not standard namespace macros are accepted. | There is a configuration option which governs whether or not standard namespace macros are accepted. | ||
- | === _ID_: Pseudo Namespace | + | === _ID_ and _NS_: Pseudo Namespace |
- | When used in a sidebar the standard namespace macro '' | + | When used in a sidebar the standard namespace macro '' |
<code html> | <code html> | ||
Line 79: | Line 81: | ||
</ | </ | ||
- | If you use '' | + | If you use '' |
==== Example of Multi Paragraph Text Block ==== | ==== Example of Multi Paragraph Text Block ==== | ||
Line 142: | Line 144: | ||
# | # | ||
**Result:** '' | **Result:** '' | ||
+ | |||
+ | ==== DokuWiki Basic Text Formatting Syntax ==== | ||
Parameters may use the [[wiki: | Parameters may use the [[wiki: |
plugin/textinsert.1570215050.txt.gz · Last modified: 2019-10-04 20:50 by Aleksandr