APL Wiki:Formatting: Difference between revisions

Jump to navigation Jump to search
→‎Primitives and other built-ins: Other glyph-related templates
(Make introduction a little more informative and less imperative)
(→‎Primitives and other built-ins: Other glyph-related templates)
Line 193: Line 193:
<blockquote>{{Built-in|Log|⍟}}</blockquote>
<blockquote>{{Built-in|Log|⍟}}</blockquote>


and also inserts a nice big illustration of the [[glyph]] on the page:
and also adds a large floating illustration of the [[glyph]], as seen at the right. You can use the <code>Built-ins</code> template for primitives with two different glyphs (for example <code><nowiki>{{Built-ins|Reverse|⌽|⊖}}</nowiki></code>), and <code>Glyphbox</code> if you just want a box at the right (for example <code><nowiki>{{Glyphbox|⍤}}</nowiki></code>). Since all of these templates must be put at the very beginning of the article's first paragraph, <code>Glyphbox</code> is useful if there should be leading text before the primitive's name.


At the bottom such pages, include <code><nowiki>{{APL built-ins}}</nowiki></code> and [{{fullurl:Template:APL_built-ins|action=edit}} edit that template's content] if the page you're creating isn't already listed there.
At the bottom such pages, include <code><nowiki>{{APL built-ins}}</nowiki></code> and [{{fullurl:Template:APL_built-ins|action=edit}} edit that template's content] if the page you're creating isn't already listed there.

Navigation menu