Difference between revisions of "Template:EverymacLink"
Jump to navigation
Jump to search
(Added conditional: use search URL if blank {{{2}}}) |
m (Fixed) |
||
Line 3: | Line 3: | ||
<nowiki>Usage: {{EverymacLink | FAMILY | DETAIL | PREFIX | NUM}}</nowiki><p> | <nowiki>Usage: {{EverymacLink | FAMILY | DETAIL | PREFIX | NUM}}</nowiki><p> | ||
<nowiki>Example: {{EverymacLink|powerbook_g4|1.67_15_hr|PowerBook|5,8}}</nowiki> ==>{{EverymacLink|powerbook_g4|1.67_15_hr|PowerBook|5,8}} | <nowiki>Example: {{EverymacLink|powerbook_g4|1.67_15_hr|PowerBook|5,8}}</nowiki> ==>{{EverymacLink|powerbook_g4|1.67_15_hr|PowerBook|5,8}} | ||
− | <nowiki>Example: {{EverymacLink|powerbook_g4| |PowerBook|5,4}}</nowiki> ==>{{EverymacLink|powerbook_g4||PowerBook|5,4}} | + | <nowiki>Example: {{EverymacLink|powerbook_g4||PowerBook|5,4}}</nowiki> ==>{{EverymacLink|powerbook_g4||PowerBook|5,4}} |
</noinclude> | </noinclude> | ||
− | <includeonly><div class='plainlinks'>{{#if:{{{2}}}|[http://www.everymac.com/systems/apple/{{{1}}}/specs/{{{1}}}_{{{2}}}.html {{{4}}}]| | + | <includeonly><div class='plainlinks'>{{#if:{{{2}}}|[http://www.everymac.com/systems/apple/{{{1}}}/specs/{{{1}}}_{{{2}}}.html {{{4}}}]|[http://www.everymac.com/ultimate-mac-lookup/?search_keywords={{{3}}}{{{4}}} {{{4}}}*]}} |
− | [http://www.everymac.com/ultimate-mac-lookup/?search_keywords={{{3}}}{{{4}}} {{{4}}}*]}} | ||
</div></includeonly> | </div></includeonly> |