Difference between revisions of "Template:GSA/doc"
Jump to navigation
Jump to search
imported>Ktr101 (two fixes) |
imported>Jdaloner (Modified <includeonly> section so that "sandbox" subpage won't appear in categories. Made visible code used for examples and the code actually used match each other.) |
||
| Line 5: | Line 5: | ||
This template contains five parameters: ''article'', ''url'', ''author'', ''accessdate'', and ''comment'': | This template contains five parameters: ''article'', ''url'', ''author'', ''accessdate'', and ''comment'': | ||
| − | *No parameters: | + | |
| + | *No parameters: | ||
| + | ::<tt><nowiki>{{GSA building}}</nowiki></tt> | ||
::{{GSA building}} | ::{{GSA building}} | ||
| − | |||
| − | |||
| − | *Article, url, author: | + | *Two parameters: article and url (you must use both together): |
| + | ::<tt><nowiki>{{GSA building|article=U.S. Post Office, Albuquerque, NM|url=http://www.gsa.gov/portal/ext/html/site/hb/category/25431/actionParameter/exploreByBuilding/buildingId/0820}}</nowiki></tt> | ||
| + | ::{{GSA building|article=U.S. Post Office, Albuquerque, NM|url=http://www.gsa.gov/portal/ext/html/site/hb/category/25431/actionParameter/exploreByBuilding/buildingId/0820}} | ||
| + | |||
| + | |||
| + | *Article, url, author: | ||
| + | ::<tt><nowiki>{{GSA building|article=U.S. Post Office, Albuquerque, NM|url=http://www.gsa.gov/portal/ext/html/site/hb/category/25431/actionParameter/exploreByBuilding/buildingId/0820|author=John Q. Public}}</nowiki></tt> | ||
::{{GSA building|article=U.S. Post Office, Albuquerque, NM|url=http://www.gsa.gov/portal/ext/html/site/hb/category/25431/actionParameter/exploreByBuilding/buildingId/0820|author=John Q. Public}} | ::{{GSA building|article=U.S. Post Office, Albuquerque, NM|url=http://www.gsa.gov/portal/ext/html/site/hb/category/25431/actionParameter/exploreByBuilding/buildingId/0820|author=John Q. Public}} | ||
| − | *All parameters: <tt><nowiki>{{GSA building|article=U.S. Post Office, Albuquerque, NM|url=http://www.gsa.gov/portal/ext/html/site/hb/category/25431/actionParameter/exploreByBuilding/buildingId/0820|accessdate=2006-06-06|comment=a comment}}</nowiki></tt> | + | |
| − | ::{{GSA building|article=U.S. Post Office, Albuquerque, NM|url=http://www.gsa.gov/portal/ext/html/site/hb/category/25431/actionParameter/exploreByBuilding/buildingId/0820|author=John Q. Public | + | *All parameters: |
| − | |accessdate=2006-06-06|comment=a comment}} | + | ::<tt><nowiki>{{GSA building|article=U.S. Post Office, Albuquerque, NM|url=http://www.gsa.gov/portal/ext/html/site/hb/category/25431/actionParameter/exploreByBuilding/buildingId/0820|author=John Q. Public|accessdate=2006-06-06|comment=a comment}}</nowiki></tt> |
| + | ::{{GSA building|article=U.S. Post Office, Albuquerque, NM|url=http://www.gsa.gov/portal/ext/html/site/hb/category/25431/actionParameter/exploreByBuilding/buildingId/0820|author=John Q. Public|accessdate=2006-06-06|comment=a comment}} | ||
| + | |||
=== Automatic categorization === | === Automatic categorization === | ||
Articles that transclude this template will be categorized automatically into [[:Category:Wikipedia articles incorporating text from works of the General Services Administration]]. | Articles that transclude this template will be categorized automatically into [[:Category:Wikipedia articles incorporating text from works of the General Services Administration]]. | ||
| − | <includeonly> | + | |
| + | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | ||
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE --> | <!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE --> | ||
[[Category:United States government attribution templates|{{PAGENAME}}]] | [[Category:United States government attribution templates|{{PAGENAME}}]] | ||
| − | </includeonly> | + | }}</includeonly> |
Revision as of 20:25, 27 September 2014
| This is a documentation subpage for Template:GSA. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template contains five parameters: article, url, author, accessdate, and comment:
- No parameters:
- {{GSA building}}
This article incorporates public domain material from websites or documents of the General Services Administration.
- Two parameters: article and url (you must use both together):
- {{GSA building|article=U.S. Post Office, Albuquerque, NM|url=http://www.gsa.gov/portal/ext/html/site/hb/category/25431/actionParameter/exploreByBuilding/buildingId/0820}}
This article incorporates public domain material from the General Services Administration document: "U.S. Post Office, Albuquerque, NM".
- Article, url, author:
- {{GSA building|article=U.S. Post Office, Albuquerque, NM|url=http://www.gsa.gov/portal/ext/html/site/hb/category/25431/actionParameter/exploreByBuilding/buildingId/0820|author=John Q. Public}}
This article incorporates public domain material from the General Services Administration document: John Q. Public. "U.S. Post Office, Albuquerque, NM".
- All parameters:
- {{GSA building|article=U.S. Post Office, Albuquerque, NM|url=http://www.gsa.gov/portal/ext/html/site/hb/category/25431/actionParameter/exploreByBuilding/buildingId/0820|author=John Q. Public|accessdate=2006-06-06|comment=a comment}}
This article incorporates public domain material from the General Services Administration document: John Q. Public. "U.S. Post Office, Albuquerque, NM". Retrieved 2006-06-06.
Automatic categorization
Articles that transclude this template will be categorized automatically into Category:Wikipedia articles incorporating text from works of the General Services Administration.