Template:Nb-row-text: Difference between revisions

From the Logical Languages Wiki
Jump to navigation Jump to search
m (Maiku moved page Template:PT-row-text to Template:Nb-row-text without leaving a redirect)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude><div style="border: 1px solid black; background-color: #fafafa; padding: 1em;">
<noinclude><div style="border: 1px solid black; background-color: #fafafa; padding: 1em;">
Add some regular text to a portal table.  Used on Portal page.
Add some regular text to a navbox.  Used on Portal page.


Parameters:
Parameters:
; 1
; 1
: text
: text
; 2
; colspan
: colspan e.g. 2 - none means no colspan element (i.e. 1 col)
: colspan e.g. 2 - none means no colspan element (i.e. 1 col)


Line 13: Line 13:


<pre><nowiki>
<pre><nowiki>
{{PT-row-text|
{{Nb-row-text|
The following tables constitute a portal into the greater world of logical languages outside the LLWiki.
The following tables constitute a portal into the greater world of logical languages outside the LLWiki.
}}
}}
</nowiki></pre>
</nowiki></pre>


</div></noinclude><tr><td {{#if:{{{2|}}}|colspan={{{2|}}}}} class="llwiki-pt-text"><div>{{{1|}}}</div></td></tr>
[[Category:Nb templates|row-text]]
</div></noinclude><tr><td {{#if:{{{colspan |}}}|colspan={{{colspan |}}}}} class="llwiki-nb-text"><div>{{{1|}}}</div></td></tr>

Latest revision as of 20:01, 13 April 2020

Add some regular text to a navbox. Used on Portal page.

Parameters:

1
text
colspan
colspan e.g. 2 - none means no colspan element (i.e. 1 col)

Usage:

  • Placing the text on its own lines as shown causes a bit more top and bottom padding (this is default for the Portal page):
{{Nb-row-text|
The following tables constitute a portal into the greater world of logical languages outside the LLWiki.
}}