Difference between revisions of "Conservapedia:Template submission"

From Conservapedia
Jump to: navigation, search
(Math templates)
(not working yet)
(17 intermediate revisions by 14 users not shown)
Line 4: Line 4:
  
 
==Navigation boxes==
 
==Navigation boxes==
{{tl|rand}} Generates a random number (eg. {{rand}} ). No particular purpose but it is allways a usefull function to have. -- {{user:Klein}} 16:38, 23 December 2007 (EST)
+
* {{tl|New Testament Books}} and {{tl|Old Testament Books}}.  For use as bottom navboxes.  I know there're a lot of red links, but I'd prefer to put them on and let all the absent books show up on [[Special:WantedPages]] anyway; we do really want them.  (Better yet would be to actually write the articles!)  Please let me know when/if they're approved.  Feel free to improve the code!
 +
:--[[User:EvanW|EvanW]] 22:57, 2 December 2009 (EST)
 +
 
 +
 
 +
* {{tl|CategoryTOC}} --''Safety<sup>[[User:Safety|U]]|[[User talk:Safety|T]]|[[Special:Contributions/Safety|C]]</sup>'' 20:22, 2 December 2009 (EST)
 +
 
 +
{{tl|rand}} Generates a random number (e.g. {{rand}} ). No particular purpose but it is always a useful function to have. -- {{user:Klein}} 16:38, 23 December 2007 (EST)
  
 
{{tl|2008_presidential_candidates}} A nav box for U.S. presidential candidates, 2008.  [[User:BrianCo|BrianCo]] 14:55, 2 August 2007 (EDT)
 
{{tl|2008_presidential_candidates}} A nav box for U.S. presidential candidates, 2008.  [[User:BrianCo|BrianCo]] 14:55, 2 August 2007 (EDT)
Line 65: Line 71:
  
 
This has already been approved by Mr. Schalfly by email. I will install it. [[User:AddisonDM]] 3 January 2009
 
This has already been approved by Mr. Schalfly by email. I will install it. [[User:AddisonDM]] 3 January 2009
This has been approved by Mr. Schlafly by email. [[User:AddisonDM]] 29 December 2008  
+
This has been approved by Mr. Schlafly by email. [[User:AddisonDM]] 29 December 2008
 +
 
 
==Userboxes==
 
==Userboxes==
 
{{tl|User_Runescape}} A userbox for users who play [[RuneScape]].--[[User:Autofire|Autofire]] 17:38, 2 August 2007 (EDT)
 
{{tl|User_Runescape}} A userbox for users who play [[RuneScape]].--[[User:Autofire|Autofire]] 17:38, 2 August 2007 (EDT)
Line 140: Line 147:
  
 
*What to replace #PAGENAME with so the name of the current page is displayed
 
*What to replace #PAGENAME with so the name of the current page is displayed
*How to allow the displayed name of the Previous/Next pages be different to the actual name (for example, replacing [[Elementary kanji first year]] with [[Elementary kanji first year|First Year]]). I'm thinking the best bet will be using IF statements (eg IF name = -Elementary kanji first year-First Year THEN output = <nowiki>[[Elementary kanji first year|First Year]]</nowiki> or something along those lines, the other alternative is to use multiple inputs, but that gets messy
+
*How to allow the displayed name of the Previous/Next pages be different to the actual name (for example, replacing [[Elementary kanji first year]] with [[Elementary kanji first year|First Year]]). I'm thinking the best bet will be using IF statements (e.g. IF name = -Elementary kanji first year-First Year THEN output = <nowiki>[[Elementary kanji first year|First Year]]</nowiki> or something along those lines, the other alternative is to use multiple inputs, but that gets messy
  
 
The first of these points is the easiest to fix, and once it is the template should be ready to be used. We can sort the second point out as we go. [[User:StatsMsn|StatsMsn]] 07:28, 2 June 2008 (EDT)
 
The first of these points is the easiest to fix, and once it is the template should be ready to be used. We can sort the second point out as we go. [[User:StatsMsn|StatsMsn]] 07:28, 2 June 2008 (EDT)
Line 281: Line 288:
  
 
==References template==
 
==References template==
{{tl|ref}} To save keystrokes when it comes to making a references section, sorry I started using it before realizing submission was required. Since it it so small and harmless I think I'll keep using it pending rejection of my application. --[[User:JerriahD|JerriahD]] 12:51, 16 June 2009 (EDT)
+
{{tl|ref}} To save keystrokes when it comes to making a references section, sorry I started using it before realizing submission was required. Since it is so small and harmless I think I'll keep using it pending rejection of my application. --[[User:JerriahD|JerriahD]] 12:51, 16 June 2009 (EDT)
  
 
==Math templates==
 
==Math templates==
Line 303: Line 310:
  
 
[[User:PatrickD|PatrickD]] 22:12, 17 July 2009 (EDT)
 
[[User:PatrickD|PatrickD]] 22:12, 17 July 2009 (EDT)
 +
 +
:Let me know when editing is on, and I can unlock them for you to make the needed changes. --[[User:TK|'''ṬK''']]<sub><small><small>/Admin</small></small></sub><sup>[[User_Talk:TK|/Talk]]</sup> 02:22, 18 July 2009 (EDT)
 +
 +
==State Representatives==
 +
Not sure I did this right:
 +
 +
<noinclude>
 +
{{TemplateDoc|Purpose=State Representatives}}
 +
{{Parms|}}
 +
!colspan="2" style="background:#D7D9FF;"|State Representative of [[{{{state}}}]]
 +
From: {{{terms}}} |- |District||{{{District}}}|- |Predecessor||{{{preceded}}} |- |Successor||Incumbent (no successor) |- |former=n
 +
</noinclude>
 +
== cite book, cite journal ==
 +
I do not feel comfortable to do it myself, but I'd like to  make a point that there is a message 'NO DOCUMENTATION FOR THIS!!' when I have a look here for help on cite book:
 +
[[Template:Cite_book]]
 +
I believe it is so frequently used that it would be nice if this can be fixed. Also I have a suggestion: I'm frequently confused how to interpret parameter 'page(s)' -I'd prefer if there are two such params: one referring to page(s) from where the quote is taken and other referring to total number of pages of the book.
 +
I also suggest there should be a 'cite journal' template available. Thanks for your kind consideration. --[[User:AK|AK]] 04:58, 29 September 2012 (EDT)
 +
 +
==Language box==
 +
I created [[Template:Language box]]. This allows you to create a box with the name of the subject in the appropriate Asian language. Few of our readers can read non-Latin characters, so giving a name in an Asian language in the running text tends to interrupt the flow. This template allows this such characters to be treated as a graphic. See [[Republic of China]] for an example. [[User:PeterKa|PeterKa]] 02:31, 9 January 2014 (EST)
 +
 +
==SDS==
 +
I created a template for [[Template:Students for a Democratic Society]], there is an opportunity here to make the topic easier to navigate.  Names get lost in the information collected on the [[Students for a Democratic Society|SDS]] page and the FBI's chart is not clickable.
 +
 +
==Stub Article==
 +
There should be a template for stub (very short) articles. Consider the following:
 +
::::[[Image:Pencil.png|14px]] <i>This '''Article''' is a Stub. You can help improve it by adding content</i>
 +
 +
==Software template==
 +
There probably should be a lot more variables it can take in, but I've created [[Template:Software]] for a "sidebar" of software entries. How does it look?  I'd like to set it so that pages using are entered into the Software category, but how would I do that?  Thanks! --[[User:DavidB4|David B]] ([[User talk:DavidB4|talk]]) 14:00, 16 February 2016 (EST)
 +
:Update: Having worked on and thought about this more, I think I've done enough for now.  Does this qualify for approval? --[[User:DavidB4|David B]] ([[User talk:DavidB4|talk]]) 00:39, 18 April 2016 (EDT)
 +
 +
::Approved!--[[User:Aschlafly|Andy Schlafly]] ([[User talk:Aschlafly|talk]]) 11:50, 5 June 2016 (EDT)
 +
 +
==Main_category template==
 +
Could someone please make a category called "Main_category" (or whatever you choose), that is just like "Main", except that, instead of saying "For a more detailed treatment, see <whatever>" it says "For the main article, see <whatever>".  The existing template is suitable for article pages, while the new one would be suitable for templates that want to show the main article about the template subject.  [[User:SamHB|SamHB]] ([[User talk:SamHB|talk]]) 01:05, 16 April 2016 (EDT)
 +
 +
==Date templates==
 +
 +
I'm thinking of making before and after templates, so that a phrase can change slightly depending on the current date. For example, I'd like to have a countdown template for the transition from Obama to Trump.
 +
 +
Right now (as I write this), there are 5 days till the inauguration. As Friday gets nearer, I'd like the daycount to go down by one every day. Then on Friday it should say "Inauguration is today". After that, it could say "Trump is president" (or something like that). --[[User:Ed Poor|Ed Poor]] <sup>[[User talk:Ed Poor|Talk]]</sup> 08:06, 15 January 2017 (EST)
 +
 +
:Not working yet! :-( --[[User:Ed Poor|Ed Poor]] <sup>[[User talk:Ed Poor|Talk]]</sup>

Revision as of 14:43, January 15, 2017

Editors: Please place your proposed template here for approval. You may not place templates on any CP page without first submitting it here!

Please see Help:Using templates for information on how to format and document your template below. Upon approval, you will find your template included in the list at Help:Templates. Just title your template, make your own sub header, and use the template found at Help:Creating templates.

Navigation boxes

  • {{New Testament Books}} and {{Old Testament Books}}. For use as bottom navboxes. I know there're a lot of red links, but I'd prefer to put them on and let all the absent books show up on Special:WantedPages anyway; we do really want them. (Better yet would be to actually write the articles!) Please let me know when/if they're approved. Feel free to improve the code!
--EvanW 22:57, 2 December 2009 (EST)


{{rand}} Generates a random number (e.g. 0 ). No particular purpose but it is always a useful function to have. -- User:Klein 16:38, 23 December 2007 (EST)

{{2008_presidential_candidates}} A nav box for U.S. presidential candidates, 2008. BrianCo 14:55, 2 August 2007 (EDT)

  • Added to template listing

{{Meet the Press moderators}} A nav box for articles of Meet the Press moderators. --Tash 18:04, 4 August 2007 (EDT)

BrianCo 14:50, 20 January 2008 (EST)

Done. 10px Fox (talk|contribs) 15:16, 20 January 2008 (EST)
  • {{Liberalism}} Navbox coordinating liberal characteristics & traits. BrianCo 06:14, 26 February 2008 (EST)
  • {{DivineComedy}} Navigation box for pages related to Dante's Divine Comedy. More terms will be added as pages are created. Please let me know if/when this is approved.--CPalmer 07:57, 20 October 2008 (EDT)
  • {{Navbox}} Brand-new uber-master template for navigation boxes. Can handle up to twenty lists, with or without group headings. Supports a basic style for all headings, or individual styles for separate lists or group headings. Collapsible, too—if you stack two templates based on it on the same page, only their title bars appear until you click a command (on the far right) to show them again. Supports images, conventional titles, and header and footer bars. FYI, I am using it right now as a replacement for {{Tnavbox basic}}; this new template is far more versatile.
  • {{Tnavbar}} Auxiliar template for Navbox; provides the title bar with its View, Discuss, and Edit links on the far left.--TerryHTalk 08:37, 1 December 2008 (EST)

  • Template: Template submission
    Use on Bible Versions
    Use for Bottom navigation box
    Category template applies to page Bible Versions
    Template Parameters
    This template has no parameters


    Sorry, I know this is the wrong way to post this but I am very new to templates. Pleae just check it out. If there are not fulfilled requirements, maybe someone can do it because can't!!User:AddisonDM Dec 20 2008

    Looks fantastic. Please proceed and install it wherever appropriate!--aschlafly 13:06, 29 December 2008 (EST)

    Template: Template submission
    Use on Pages defining Conservative characteristics and traits in a person or institution
    Use for Bottom navigation box
    Category template applies to page Conservative
    Template Parameters
    This template has no parameters


    This has already been approved by Mr. Schalfly by email. I will install it. User:AddisonDM 3 January 2009 This has been approved by Mr. Schlafly by email. User:AddisonDM 29 December 2008

    Userboxes

    {{User_Runescape}} A userbox for users who play RuneScape.--Autofire 17:38, 2 August 2007 (EDT)

    • Ok. Added to templates, uncategorized

    {{User_sysopother}} A userbox for users who are sysops on other wikis. --transResident Transfanform! 15:44, 6 August 2007 (EDT)
    OK. --şŷŝôρ-₮KṢρёаќǃ 17:46, 6 August 2007 (EDT)

    I don't think I ever submitted my Template User:Mets. A (really lame) userbox for users who are Mets fans. User:StevenM 20:31 Oct 19 2007 {{User_UFC}} A userbox for UFC fans. JY23 19:59, 3 January 2009 (EST)


    Citations missing

    Essentially a simpler, smaller, and less imposing alternative to uncited and uncited2--Iduan 14:12, 14 August 2007 (EDT)

    News

    Similar to Template:Previous Breaking News by Subject except the new template is for the "More News" archive by subject. There are too many articles for the Main Page Main Page/More News. These articles will be archived in the "More News" archive by subject. For example, the Global Warming articles will be extracted from Main_Page/More_News#Global_Warming and added to the archive similar to Previous Breaking News/Global Warming. --Crocoite 15:22, 20 August 2007 (EDT)

    {{Tnb_heads_of_state |titletext=United States presidential elections |body=1789 1792 1800 1804 1808 1812 1816 1820 [United States presidential election, 1824 1828 1832 1836 1840 1844 1848 1852 1856 1860 1864 1868 1872 1876 1880 1884 1888 1892 1896 1900 1904 1908 1912 1916 1920 1924 1928 1932 1936 1940 1944 1948 1952 1956 1960 1964 1968 1972 1976 1980 {{nowrap|[[United States presidential election, 1984 |1984 •}} 1988 1992 1996 2000 2004 }}


    Template: Template submission
    Use on Articles about US Presidential elections
    Use for Bottom navigation box
    Category template applies to page United States presidential elections
    Template Parameters
    This template has no parameters


    That's what I'm submitting as a Template. Am I submitting it right? If I'm not please inform me. -Additioner 14:34, 22 August 2007 (EDT)

    What do you mean 'in use.' I admit I got most of it from the Template: 2008 presidential candidates. -Additioner 15:46, 24 August 2007 (EDT)

    Is this template approved? -Additioner 14:49, 10 September 2007 (EDT)

    Copyright Details

    For approval:

    Template:Copyright Details

    Template:Copyright Details (US Government)

    --User:Joaquín Martínez, talk 21:05, 6 November 2007 (EST)

    Utilities

    {{-}} {{L}} {{R}}

    Three short cuts for inserting
    . Take no parameters. Handy for formatting text with images. BrianCo 17:23, 10 March 2008 (EDT)

    Religion

    I'd like some for "This user is a Discordian." "This user is a SubGenius." "This user is a Moonie." "This user is a Scientologist." and "This user has been Touched by His Nooldy Appendage." --Gulik5 23:33, 9 April 2008 (EDT)

    Template:Navigator

    Just a general navigator I created at another wiki. Inspiration for bringing here, and an example of where it could be used, are the Kanji pages, for example on the Elementary kanji second year page we could have:

    Levels of Kanji
    Previous Current Next
    Elementary kanji first year #PAGENAME Elementary kanji third year

    Or something to that effect. Now there are a couple of problems I've found:

    • What to replace #PAGENAME with so the name of the current page is displayed
    • How to allow the displayed name of the Previous/Next pages be different to the actual name (for example, replacing Elementary kanji first year with First Year). I'm thinking the best bet will be using IF statements (e.g. IF name = -Elementary kanji first year-First Year THEN output = [[Elementary kanji first year|First Year]] or something along those lines, the other alternative is to use multiple inputs, but that gets messy

    The first of these points is the easiest to fix, and once it is the template should be ready to be used. We can sort the second point out as we go. StatsMsn 07:28, 2 June 2008 (EDT)

    Forgot to say, all required information including parameters can be found at the templates page. StatsMsn 07:29, 2 June 2008 (EDT)

    Template:Infobox person

    (Go into the source code to see the template) Suggestion: A simple infobox for all kinds of persons, especially good for politicians:

    {{Infobox person
    |name=
    |image=
    |imagedesc=
    |byline=
    |born=
    |birthplace=
    |dead=
    |deathplace=
    |nationality=
    |party=
    |spouse=
    |religion=
    
    |position1=
    |period1=
    |predecessor1=
    |successor1=
    
    |position2=
    |period2=
    |predecessor2=
    |successor2=
    
    |signature=
    }}
    

    What do you think? Efloean 14:55, 29 August 2008 (EDT)

    Template for parodist identification

    It might be useful to have a "parodist" template to slap on user's userpages if they are suspected of being parodists. This will help sysops identify the users whose contributions they should look into with scrutiny. Oftentimes brand new users will start their "career" at CP by posting a controversial statement on, for example, the main talk page, without having any meaningful contributions to the encyclopedia itself. Such users are more often than not parodists, and having such a template will help temper them before they go on to do damage. --DRamon 16:30, 31 October 2008 (EDT)

    Sports templates

    I could use some templates about certain sports teams, leagues, etc. Plus a template on the taxonomy of a certain animal would be nice, too. JY23 19:46, 12 December 2008 (EST)

    {{DenverBroncos}} my first roster template, for the Denver Broncos. JY23 14:27, 27 December 2008 (EST)

    {{MinnesotaVikings}} Roster template #2, for the Minnesota Vikings. JY23 19:01, 1 January 2009 (EST)

    {{PittsburghSteelers}} Roster template #3, for the Pittsburgh Steelers. JY23 20:59, 6 January 2009 (EST)

    {{KCChiefs}} Roster template #4, for the Kansas City Chiefs. JY23 22:00, 16 January 2009 (EST)

    {{NFLTeam}} Template for vital info on NFL teams, based on Template:MLBTeam. JY23 16:07, 29 March 2009 (EDT)

    Calculus Template

    A template for the calculus pages. It acts as a navigation bar on the right hand side. {{calculus}}

    WilliamBeason 13:56, 31 December 2008 (EST)

    Chemistry Template

    For use in chemistry topics more advance than general science chemistry.

    Isotopes.jpg This article/section deals with chemistry concepts appropriate for a student in late high school or university.

    --Able806 14:31, 31 December 2008 (EST)

    BioSciences Template

    For use in advance biosciences topics, for example the HIV/AIDS pages discussing topics such as advance immunology and pathology.

    Dna ncifcrf gov.jpg This article/section deals with advance bioscience concepts appropriate for a student in late university and graduate school.

    --Able806 16:52, 7 January 2009 (EST)

    Governors Template

    For use on state governors lists.


    --WesleySHello! 16:48, 28 January 2009 (EST)

    Cool one, Wesley! --₮K/Admin/Talk 17:06, 28 January 2009 (EST)

    Thanks! Somehow I've seen it before...Now to finish the pages. WesleySHello! 18:52, 28 January 2009 (EST)

    LPOV-statement

    [LPOV?]

    Use to flag a paragraph or sentence as possibly having a liberal point of view. Npov2 21:33, 8 March 2009 (EDT)

    • You would need to actually create a template, Npov2, not simply a page with a re-direct to an already deleted page. Please see the relevant template help pages. --₮K/Admin/Talk 22:40, 8 March 2009 (EDT)

    NFL Teams template

    {{NFL Teams}} WesleySHello! 16:53, 20 March 2009 (EDT)

    • Approved. --₮K/Admin/Talk 20:03, 20 March 2009 (EDT)

    References template

    {{ref}} To save keystrokes when it comes to making a references section, sorry I started using it before realizing submission was required. Since it is so small and harmless I think I'll keep using it pending rejection of my application. --JerriahD 12:51, 16 June 2009 (EDT)

    Math templates

    {{Template:Math-e}} {{Template:Math-m}} {{Template:Math-h}} {{Template:Math-a}}

    Two things: These were never put in the list of templates, which it seems was supposed to happen. The four of them all go together. I didn't write them, by the way.

    Also, the Math-h template has a minor formatting error that, unfortunately, makes it look completely wrong. The prime in "f prime" is nearly invisible. I think the text should be

    {|style="width:500px; height:65px; text-align:center;background-color:#999900;" align="center" |-style="background-color:#F8F0FB;text-align:center;" |style="background-color:#fff;width:130px;"|<math>f(x)=\sin x\,</math> <math>f'(x)=?\,</math> |style="background-color:#ffffcc"|This article/section deals with mathematical concepts appropriate for a student in late high school or early university. |}

    PatrickD 22:12, 17 July 2009 (EDT)

    Let me know when editing is on, and I can unlock them for you to make the needed changes. --ṬK/Admin/Talk 02:22, 18 July 2009 (EDT)

    State Representatives

    Not sure I did this right:



    Template: Template submission
    Use on {{{pages}}}
    Use for {{{purpose}}}
    Category template applies to page (none)
    Template Parameters
    This template has no parameters

    !colspan="2" style="background:#D7D9FF;"|State Representative of [[{{{state}}}]] From: {{{terms}}} |- |District||{{{District}}}|- |Predecessor||{{{preceded}}} |- |Successor||Incumbent (no successor) |- |former=n

    cite book, cite journal

    I do not feel comfortable to do it myself, but I'd like to make a point that there is a message 'NO DOCUMENTATION FOR THIS!!' when I have a look here for help on cite book: Template:Cite_book I believe it is so frequently used that it would be nice if this can be fixed. Also I have a suggestion: I'm frequently confused how to interpret parameter 'page(s)' -I'd prefer if there are two such params: one referring to page(s) from where the quote is taken and other referring to total number of pages of the book. I also suggest there should be a 'cite journal' template available. Thanks for your kind consideration. --AK 04:58, 29 September 2012 (EDT)

    Language box

    I created Template:Language box. This allows you to create a box with the name of the subject in the appropriate Asian language. Few of our readers can read non-Latin characters, so giving a name in an Asian language in the running text tends to interrupt the flow. This template allows this such characters to be treated as a graphic. See Republic of China for an example. PeterKa 02:31, 9 January 2014 (EST)

    SDS

    I created a template for Template:Students for a Democratic Society, there is an opportunity here to make the topic easier to navigate. Names get lost in the information collected on the SDS page and the FBI's chart is not clickable.

    Stub Article

    There should be a template for stub (very short) articles. Consider the following:

    Pencil.png This Article is a Stub. You can help improve it by adding content

    Software template

    There probably should be a lot more variables it can take in, but I've created Template:Software for a "sidebar" of software entries. How does it look? I'd like to set it so that pages using are entered into the Software category, but how would I do that? Thanks! --David B (talk) 14:00, 16 February 2016 (EST)

    Update: Having worked on and thought about this more, I think I've done enough for now. Does this qualify for approval? --David B (talk) 00:39, 18 April 2016 (EDT)
    Approved!--Andy Schlafly (talk) 11:50, 5 June 2016 (EDT)

    Main_category template

    Could someone please make a category called "Main_category" (or whatever you choose), that is just like "Main", except that, instead of saying "For a more detailed treatment, see <whatever>" it says "For the main article, see <whatever>". The existing template is suitable for article pages, while the new one would be suitable for templates that want to show the main article about the template subject. SamHB (talk) 01:05, 16 April 2016 (EDT)

    Date templates

    I'm thinking of making before and after templates, so that a phrase can change slightly depending on the current date. For example, I'd like to have a countdown template for the transition from Obama to Trump.

    Right now (as I write this), there are 5 days till the inauguration. As Friday gets nearer, I'd like the daycount to go down by one every day. Then on Friday it should say "Inauguration is today". After that, it could say "Trump is president" (or something like that). --Ed Poor Talk 08:06, 15 January 2017 (EST)

    Not working yet! :-( --Ed Poor Talk