Template:Refgram: Difference between revisions
(handle spaces in fragment) |
(rewrite to use template:feature and add demonstration) |
||
Line 6: | Line 6: | ||
# | # | ||
#; fragment name (optional) : Such as <code>the cleft verb</code> to link to <code><nowiki>https://.../syntax/#the_cleft_verb</nowiki></code>. | #; fragment name (optional) : Such as <code>the cleft verb</code> to link to <code><nowiki>https://.../syntax/#the_cleft_verb</nowiki></code>. | ||
<div style="padding: 0.5em; border: 1px solid black;"> | |||
{{refgram|syntax|the cleft verb}} | |||
Lorem ipsum dolor | |||
<div style="clear: right;"></div> | |||
</div> | |||
</noinclude><includeonly | </noinclude><includeonly | ||
> | >{{feature|More on this in the [[refgram]] | ||
|[https://toaq.net/refgram/{{{1}}}/{{#if:{{{2|}}}|#{{#replace:{{{2}}}|<nowiki> </nowiki>|_}}|}} {{ucfirst:{{{1}}}}}{{#if: {{{2|}}}|<nowiki>:</nowiki> {{ucfirst:{{{2}}}}}|}}] | |||
{{ | }}</includeonly> | ||
Latest revision as of 15:33, 3 December 2023
Use this template to link to authoritative sections in the refgram.
Positional arguments:
- page name (required)
-
- fragment name (optional)
- Such as
the cleft verb
to link tohttps://.../syntax/#the_cleft_verb
.
More on this in the refgram |
---|
Syntax: The cleft verb |
Lorem ipsum dolor