Template:Component: Difference between revisions

Template page
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
===Quick example===
===Quick example===
<pre>
<pre>
{{component|3 Bit Decoder}}
{{Component|3 Bit Decoder}}
</pre>
</pre>


{{component|3 Bit Decoder}}
{{Component|3 Bit decoder}}


===Full example===
===Full example===
You can also incude display text.
You can also incude display text.
<pre>
<pre>
{{component|3 Bit Decoder|The component that decodes 3 bits}}
{{Component|3 Bit decoder|The component that decodes 3 bits}}
</pre>
</pre>


{{component|3 Bit Decoder|The component that decodes 3 bits}}
{{Component|3 Bit decoder|The component that decodes 3 bits}}


===Alpha branch===
===Alpha branch===
You can reference Alpha branch versions of the components by including <code>alpha</code> as the third parameter.
You can reference Alpha branch versions of the components by including <code>alpha</code> as the third parameter.
<pre>
<pre>
{{component|3 Bit Decoder||alpha}}
{{Component|3-bit decoder||alpha}}
{{component|3 Bit Decoder|The component that decodes 3 bits|alpha}}
{{Component|3-bit decoder|The component that decodes 3 bits|alpha}}
</pre>
</pre>


{{component|3 Bit Decoder||alpha}}
{{component|3-bit decoder||alpha}}<br>
{{component|3 Bit Decoder|The component that decodes 3 bits|alpha}}
{{component|3-bit decoder|The component that decodes 3 bits|alpha}}
</noinclude>
</noinclude>

Latest revision as of 05:26, 14 January 2025

[[Component/{{{1}}}|{{{1}}}]]

Create a link to the named component.

Quick example[edit source]

{{Component|3 Bit Decoder}}

3 Bit decoder

Full example[edit source]

You can also incude display text.

{{Component|3 Bit decoder|The component that decodes 3 bits}}

The component that decodes 3 bits

Alpha branch[edit source]

You can reference Alpha branch versions of the components by including alpha as the third parameter.

{{Component|3-bit decoder||alpha}}
{{Component|3-bit decoder|The component that decodes 3 bits|alpha}}

3-bit decoder
The component that decodes 3 bits