title: Azure Pipelines: Passing a variable as a parameter to a template
body: <p>I am currently evaluating Azure Pipelines with a small POC and I think I have hit a limitation but wanted to know if anyone had a workaround.</p>
  
  <p>Here is the key parts for what I am trying to do.</p>
  
  <p><strong>azure-pipelines.yml</strong></p>
  
  <pre><code>variables:
    - name: FavouriteSportsTeam
      value: "Houston Rockets"
  jobs:
    - template: Build1.yml
      parameters:
        SportsTeam: $(FavouriteSportsTeam)
    - template: Build2.yml
      parameters:
        SportsTeam: $(FavouriteSportsTeam)
  </code></pre>
  
  <p><strong>Build1.yml</strong></p>
  
  <pre><code>parameters:
    SportsTeam: "A Default Team"
  jobs:
    - job: SportsTeamPrinter
      steps:
        - script: "echo ${{ parameters.SportsTeam }}"
  </code></pre>
  
  <p>Now when I attempt to run this, the variable passed from the azure-pipelines.yml file isn't expanded, and it's left as "$(FavouriteSportsTeam)"</p>
  
  <p>Is it possible to pass an expanded variable as a parameter to another file?</p>