Template:RationalWiki/doc
Appearance
![]() | This is a documentation subpage for Template:RationalWiki. It may contain usage information, categories and other content that is not part of the original template page. |

![]() | This template uses Lua: |
Template:RationalWiki displays an external link to a page at RationalWiki, a free-access wiki written from a scientific skeptic, secular, and progressive perspective. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{RationalWiki | user name or number }}
{{RationalWiki | user name or number | Displayed Name }}
- Named parameters
{{RationalWiki | id= user name or number }}
{{RationalWiki | id= user name or number | name= Displayed Name }}
- Using Wikidata property
{{RationalWiki}}
{{RationalWiki | name= Displayed Name }}
Examples
[edit]Linking to a profile or page
[edit]In this example, the RationalWiki ID is Ayn_Rand and the link text is Ayn Rand:
- https://rationalwiki.org/wiki/Ayn_Rand
* {{RationalWiki | Ayn_Rand | Ayn Rand }}
- Ayn Rand on RationalWiki, a website that publishes data on who-knows-who between government, donors and business
Using Wikidata
[edit]Generally, Wikidata should contain article subjects' RationalWiki IDs in property RationalWiki ID (P7775), allowing the ID parameter to be omitted:
* {{RationalWiki}}
* {{RationalWiki |name=NAME }}
If the Wikidata property is not defined, the output is:
- String Module Error: Target string is empty RationalWiki/doc on RationalWiki, a website that publishes data on who-knows-who between government, donors and business
See also
[edit]