Template:Refgram: Difference between revisions

From The Toaq Wiki
mNo edit summary
(rewrite to use template:feature and add demonstration)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
Use this template to link to authortitative sections in the refgram.
Use this template to link to authoritative sections in the refgram.


Positional arguments:
Positional arguments:
#; page name (required)
#; page name (required)
#
#
#; fragment name (optional) : Such as <code>interjections</code> to link to <code><nowiki>https://.../syntax/#interjections</nowiki></code>.
#; fragment name (optional) : Such as <code>the cleft verb</code> to link to <code><nowiki>https://.../syntax/#the_cleft_verb</nowiki></code>.


{{refgram|syntax|interjections}}
<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
><div style=float-right
>{{feature|More on this in the [[refgram]]
>
|[https://toaq.net/refgram/{{{1}}}/{{#if:{{{2|}}}|&#x23;{{#replace:{{{2}}}|<nowiki> </nowiki>|_}}|}} {{ucfirst:{{{1}}}}}{{#if: {{{2|}}}|<nowiki>:</nowiki> {{ucfirst:{{{2}}}}}|}}]
{{{!}} class=wikitable
}}</includeonly>
! More on this in the [[refgram]]
{{!}}-
{{!}} [https://toaq.net/refgram/{{{1}}}/{{#if:{{{2|}}}|<nowiki>#</nowiki>{{{2}}}|}} {{{1}}}{{#if: {{{2|}}}|<nowiki>:</nowiki> {{{2}}}|}}]
{{!}}}</div></includeonly>

Latest revision as of 15:33, 3 December 2023

Use this template to link to authoritative sections in the refgram.

Positional arguments:

  1. page name (required)
  2. fragment name (optional)
    Such as the cleft verb to link to https://.../syntax/#the_cleft_verb.
More on this in the refgram
Syntax: The cleft verb

Lorem ipsum dolor