Difference between revisions of "Template:GroupList"

From PC-BSD Wiki
Jump to: navigation, search
(Created page with "<ref group="tables">table</ref> <onlyinclude><span class="plainlinks">[{{template:ourInterwiki|first={{{1|}}}}}{{{url|{{{2|{{{1|}}}}}}}}} {{{txt|{{{3|{{{2|{{{1|}}}}}}}}}}}}]</...")
 
Line 1: Line 1:
 
<ref group="tables">table</ref>
 
<ref group="tables">table</ref>
<onlyinclude><span class="plainlinks">[{{template:ourInterwiki|first={{{1|}}}}}{{{url|{{{2|{{{1|}}}}}}}}} {{{txt|{{{3|{{{2|{{{1|}}}}}}}}}}}}]</span>{{#tag:ref|{{ourInterwiki|first={{{1}}}}}{{{url|{{{2|}}}}}}|name="{{ourInterwiki|first={{{1}}}}}{{{url|{{{2|{{{1}}}}}}}}}"}}</onlyinclude><noinclude>  <!-- above works as is. do not adjust -->
+
<onlyinclude><span class="plainlinks">[{{{url|}}} {{{txt|{{{3|{{{2|{{{1|}}}}}}}}}}}}]</span>{{#tag:ref|{{{url|}}}|name="{{{url|{{{2|{{{1}}}}}}}}}"</onlyinclude><noinclude>  <!-- above works as is. do not adjust -->
 
== Explanation ==  
 
== Explanation ==  
  
Line 19: Line 19:
 
: '''<nowiki>{{Citelink|</nowiki>'''''shortcut'''''|url='''''page URL'''''|txt='''''alternate text'''''}}'''
 
: '''<nowiki>{{Citelink|</nowiki>'''''shortcut'''''|url='''''page URL'''''|txt='''''alternate text'''''}}'''
 
::'''Example:''' <nowiki>[http://en.wikipedia.org/wiki/faq/ faq on wikipedia]</nowiki> '''becomes''' <nowiki>{{citelink|wikipedia|url=faq|faq on wikipedia}}</nowiki>
 
::'''Example:''' <nowiki>[http://en.wikipedia.org/wiki/faq/ faq on wikipedia]</nowiki> '''becomes''' <nowiki>{{citelink|wikipedia|url=faq|faq on wikipedia}}</nowiki>
 
==== Current defined shortcuts ====
 
<code>
 
:      {{padright:commons -|15|-}} {{http}}commons.wikimedia.org/wiki/
 
:          {{padright:fbsd -|15|-}} {{http}}wiki.freebsd.org/
 
:        {{padright:fbsddh -|15|-}} {{http}}www.freebsd.org/doc/en/books/developers-handbook/
 
:        {{padright:fbsdh -|15|-}} {{http}}www.freebsd.org/doc/en/books/handbook/
 
:        {{padright:fbsdph -|15|-}} {{http}}www.freebsd.org/doc/en/books/porters-handbook/
 
:            {{padright:mw -|15|-}} {{http}}www.mediawiki.org/wiki/
 
: {{padright:mediawikiwiki -|15|-}} {{http}}www.mediawiki.org/wiki/
 
:    {{padright:mediazilla -|15|-}} {{http}}bugzilla.wikimedia.org/
 
:          {{padright:meta -|15|-}} {{http}}meta.wikimedia.org/wiki/
 
:          {{padright:trac -|15|-}} {{http}}trac.pcbsd.org/wiki/
 
:    {{padright:wikibooks -|15|-}} {{http}}en.wikibooks.org/wiki/
 
:    {{padright:wikimedia -|15|-}} {{http}}wikimediafoundation.org/wiki/
 
:      {{padright:wikinews -|15|-}} {{http}}en.wikinews.org/wiki/
 
:    {{padright:wikiquote -|15|-}} {{http}}en.wikiquote.org/wiki/
 
:    {{padright:wikisource -|15|-}} {{http}}wikisource.org/wiki/
 
:  {{padright:wikispecies -|15|-}} {{http}}species.wikimedia.org/wiki/
 
:    {{padright:wiktionary -|15|-}} {{http}}en.wiktionary.org/wiki/
 
:            {{padright:wp -|15|-}} {{http}}en.wikipedia.org/wiki/
 
:    {{padright:wikipedia -|15|-}} {{http}}en.wikipedia.org/wiki/
 
:  {{padright:wikiversity -|15|-}} {{http}}en.wikiversity.org/wiki/ <!-- OurInterwiki template cannot transclude here. -->
 
</code>
 
  
 
== Implementation - 2nd part ==
 
== Implementation - 2nd part ==

Revision as of 23:31, 15 February 2013

[tables 1] [ ]Cite error: Invalid <ref> tag; refs with no name must have content

Special External

The URL is for a site not part of the PC-BSD wiki, but has a defined shortcut such as for wikipedia.
{{Citelink|shortcut|url=page URL|txt=alternate text}}
Example: [http://en.wikipedia.org/wiki/faq/ faq on wikipedia] becomes {{citelink|wikipedia|url=faq|faq on wikipedia}}

Implementation - 2nd part

The refheading template method to satisfy the per-page part.

Place one <noinclude>{{refheading}}</noinclude> at the bottom of the page, above the category links section.
  • A large red text warning message which mentions <ref> is automatically generated by the wiki when the second half of the setup is missing.

Cite error: <ref> tags exist for a group named "tables", but no corresponding <references group="tables"/> tag was found