User:George Orwell III/Ranges

__NOINDEX__

U. S. President = Executive order, 1936-1938. Numbers in thi6 volume are as follows: 7262 7296 7390 7518 7639 7778 7920 7263 7297 7393 7519 7642 7779 7922 7264 7298 7394 7525 7641 7782 7929 7265 7299 7395 7526 7645 7785 7930 7266 7300 7397 7531 7646 7788 7931 7267 7301 7401 7533 7648 7789 7932 7268 7302 7403 7540 7654 7791 7933 7269 7303 7408 7542 7657 7802 7934 7270 7304 7413 7545 7659 7819 7935 7271 7305 7414 7547 7666 7820 7936 7272 7306 7419 7552 7667 7823 7943 7273 7307 7420 7565 7668 7824 7945 7274 7308 7428 7566 7682 7825 7948 7275 7309 7431 7567 7690 7827 7949 7276 7310 7432 7568 7692 7834 7950 7277 7311 7438 7569 7704 7842 7954 7278 7312 7439 7571 7709 7843 7958 7279 7313 7440 7574 7714 7844 7962 7280 7314 7444 7580 7725 7851 7973 7280-A 7315 7445 7581 7726 7859 7974 7280-B 7317 7449 7582 7727 7861 7978 7281 7318 7455 7586 7728 7863 7982 7282 7321 7456 7591 7730 7871 7987 7283 7322 7457 7592 7733 7873 7988 7284 7336 7468 7597 7733-A 7874 7989 7284-A 7342 7472 7598 7735 7876 7990 7284-B 7346 7473 7611 7737 7890 7991 7285 7348 7475 7612 7745 7892 7995 7286 7349 7477 7613 7750 7899 7996 7287 7350 7478 7619 7751 7900 7997 7288 7351 7480 7626 7753 7904 8002 7289 7358 7481 7629 7754 7905 8011 7290 7366 7488 7630 7755 7912 8012 7291 7367 7492 7633 7762 7913 8019 7292 7370 7494 7634 7766 7914 8024 7293 7372 7497 7635 7769 7917 8025 7294 7380 7516 7637 7774 7918 8026 7295 7385 7517 7638 7777 7919 8027 Numbers not included will be found in the Federal Register: J 83.A2

U.S. President Executive order, 1939-1941 Numbers in this volume are as follows: 8032 8235 8362 8476 8630 8866 8041 8242 8365 8477 8637 8873 8046 8252 8368 8478 8653 8887 8047 8253 8369 8481 8656 8893 8048 8256 8370 8482 8670 8896 8049 8259 8374 8483 8676 8897 8050 8260 8375 8485 8686 8898 8058 8262 8386 8488 8690 8898 8060 8263 8391 8489 8692 8899 8066 8264 8392 8491 8698 8901 8070 8268 8395 8497 8710 8903 8073 8270 8401 8503 8720 8904 8074 3274 8402 8504 8726 8905 8075 8275 8408 8513 8728 8907 8082 8282 8409 8520 8735 8913 8094 8285 8410 8522 8745 8917 8096 8286 8412 8524 8747 8918 8097 8287 8413 8525 8750 8919 8105 8290 8414 8537 8754 8925 8106 8302 8415 8538 8761 8933 8032 8303 8416 8539 8762 8934 8137 8308 8418 8542 8764 8935 8139 8309 8420 8543 8765 8936 8142 8310 8421 8552 8772 8945 8146 8311 8422 8554 8777 8946 8170 8312 8426 8555 8778 8948 8182 8313 8438 8562 8796 8949 8195 8314 8443 8581 8801 8958 8204 8322 8448 8582 8804 8966 8207 8326 8452 8584 8805 8967 8208 8327 8453 8603 8810 8968 8209 8328 8456 8608 8825 8969 8212 8329 8457 8609 8826 8993 8213 8334 8461-A 8610 8827 8994 8217 8340 8462 8611 8828 8995 8218 8345 8463 8614 8829 8996 8224 8348 8464 8615 8835 8997 8228 8349 8466 8625 8836 9002 8229 8350 8469 8626 8844 9003 8231 8351 8474 8628 8849 Numbers not inoluded will be found in the Federal Register: J 83-A2


 * Title 3 CFR Compilation by Executive Order


 * Federal Register publication year ( FR-year= ) by Executive Order


 * Federal Register publication volume ( FR-vol= ) by Executive Order

Template Tantrum
Looking around the internet for what other databases have done with thier collection of EOs I realized that they either had the content without a valid citation for it or had a valid citation without the content. I figured since Wikisource had a large part of the EOs already created the obvious lack of a citation to insure accuaracy that could build Wikisource's credibility needed to be addressed. This could be done by providing the National Archives & Records Administration's citation (which is content lacking before President Clinton} and the ultimate citation, giving the original Federal Register Volume and Page for the first public publication of an EO. Doing both in the existing field became very messy so I decided to go another route.

The first order of business was to insert a citation bar between the end of the traditional header and the notes section of it similar to this.

... where I could force (((1}}} to the left and (((2}}} to the the right neatly and seperately from whatever extra info the section would have added. With just the input of the EO Number, the finished template would automatically build an URL to the NARA citation, give the signing President that links back to his collection of EO's on his wikisource author subpage and give the date the EO was issued (or more precisely; was signed} in the citation bar:

So if I had created the proper if &rarr; then arguments around the inputed Executive Order number, it would kick out a finished line in the cite bar for the parameter, or in the template the  parameter, on the left like this:

For the official citation of the EO's first publication in the Federal Register, I simply reused the the parameters found in the template and added the 3 date parameters to it.

So the finished (((2))) parameter in the citation bar came out looking like this in the end:

 In short, within the citation bar, is replaced with  and  with

The finished citation bar would ultimately look like this:




 * Has three components:
 * An URL to the NARA citation
 * An interlink to the Executive Order subpage under the Author:President main page
 * the date the President issued by signature the Executive Order.

First part of
To build the URL to the NARA citation, only 2 variables are needed for all the Presidents and all their EOs, the year and the EO number. The year variable wasn't always a simple 4 digit input because there were years where 2 different presidents had issued EO's &mdash; specifically those years where a normal change of administration takes place plus the years of JFK's assisnation and Nixon's impeachment. The basic URL being built is:


 *  http://www.archives.gov/federal-register/executive-orders/.html#(((eo}}} 

... where the year in question is designated as and the Executive Order number is the  value. This URL to NARA makes up the first part of the 3 part parameter consiting of the hyperlink under the word Signed.

To get the parameter that also took into account those years where 2 different Presidents had issued EOs I built a series of expressions that took the EO number and asked if it was less than or equal to the first EO number for that year AND if it was less than the first EO number of the following year PLUS the additional ranges for those dual president years that further seperated the first and last issued EO numbers per POTUS whenever applicable. So for an input of 13228 to be able to automatically build the proper hyperlink to NARA and account for any dual POTUS years, the if-expression line that can fulfill that was:


 *  { {#ifexpr:13198<= and <13252|| }}

because the inputed satisfies both variables ( 13198 <= 13228 < 13252 ). 2001 being a year where Clinton also issued EOs, the correct URL parameter is  2001-wbush . The finished URL to the NARA citation is:


 * <tt> 2001-wbush .html# 13228 Signed</tt>

All the expressions found in for getting  are in the hidden table that follows.

Second part of
The second part of inserts the interlink back to the President's author subpage for Executive Orders. The desired parameter here in ...

... is . It is built around the same idea as is in the use of a series of expressions that takes the EO number and asks it if falls in between two variables that must be satisfied to return the correct parameter.

The difference here is that it is not done by one year to the next year but by a President to the President that followed him. In other words, the expression asks if the inputed EO was less than or equal to the first EO number issued by a President AND if it was less than the first EO number issued by the President that followed. Because of this diffrent range of EOs, it is a different list of if &rarr; then expressions than the ones used to get. The complete list that gets the value for is in the hidden table that follows.

Third part of
The third part of is just the input of the signing date with the input of values for  ,

This is just breaking down the template using  &, with the addition of the publication month, day and year.

<BR />