title: YAML Pipeline Template Parameter Syntax
body: <p>There are two documents on the Microsoft docs site which seem to declare different syntax for YAML template parameters. </p>
  
  <p>I have not been able to deduce where the first one below is used, while the 2nd one works fine. I wanted to know if the version declaring type is deprecated. </p>
  
  <p><a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/process/templates?view=azure-devops-2019#template-expressions" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/devops/pipelines/process/templates?view=azure-devops-2019#template-expressions</a></p>
  
  <pre><code>parameters:
  - name: 'solution'
    default: '**/*.sln'
    type: string
  </code></pre>
  
  <p><a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&amp;tabs=example#template-references" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&amp;tabs=example#template-references</a></p>
  
  <pre><code>parameters:
    name: ''
    testFile: ''
  </code></pre>